fix [do_command]

This commit is contained in:
gfgtdf 2018-03-16 04:34:09 +01:00
parent c723ca4a48
commit e752a172d1

View file

@ -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;