Oh, thanks for the hint regarding broadcast(), just forgot it.
About coroutines.lua: I do not know which function is NOT used for all players at the same time.
I guess those functions are the functions called when a particular user action is triggered, and i think that are all the functions in ui.lua. So i added a comment that is according to my guess to coroutines.lua.
If there are more functions which are critical for user actions, or other things to consider, please let me know.
Oh, thanks for the hint regarding broadcast(), just forgot it.
About coroutines.lua: I do not know which function is NOT used for all players at the same time.
I guess those functions are the functions called when a particular user action is triggered, and i think that are all the functions in ui.lua. So i added a comment that is according to my guess to coroutines.lua.
If there are more functions which are critical for user actions, or other things to consider, please let me know.