fix [do_command]
This commit is contained in:
parent
c723ca4a48
commit
e752a172d1
1 changed files with 1 additions and 1 deletions
|
@ -296,7 +296,7 @@ WML_HANDLER_FUNCTION(do_command,, cfg)
|
|||
ERR_NG << "[do_command] cannot be used in linger mode" << std::endl;
|
||||
return;
|
||||
}
|
||||
if(is_unsynced && resources::controller->gamestate().init_side_done())
|
||||
if(is_unsynced && !resources::controller->gamestate().init_side_done())
|
||||
{
|
||||
ERR_NG << "[do_command] cannot be used before the turn has started" << std::endl;
|
||||
return;
|
||||
|
|
Loading…
Add table
Reference in a new issue