Jump to content

Recommended Posts

if TheNet:GetIsServer() then
    dosomething(config_data, nil, true)
else
    dosomething(config_data, nil, false)
end
I have this code in the top level of a lua file, and when enter the world, dosomething is run 6 times? why it's not simple 1 on server and 1 on client? is it run both on cave and master? even so, it's only 4 times

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
  • Create New...