[1.1.104] LuaGameScript::is_multiplayer() is false on_init
Posted: Thu Mar 28, 2024 7:16 pm
Hello,
When starting a new multiplayer save and having the following code below:
It seems that game.is_multiplayer() when run is always false on event on_init.
I expect for it to return true if the game is multiplayer. Is this correct?
Kind regards,
Gerkiz
When starting a new multiplayer save and having the following code below:
Code: Select all
script.on_init(
function()
log(game.is_multiplayer())
end
)
I expect for it to return true if the game is multiplayer. Is this correct?
Kind regards,
Gerkiz