forked from Mirrors/openclonk
Remove some unnecessary restrictions from /script message board command (#1369).
parent
20f95bf018
commit
8ec159d755
|
@ -592,8 +592,6 @@ bool C4MessageInput::ProcessCommand(const char *szCommand)
|
||||||
{
|
{
|
||||||
if (!Game.IsRunning) return false;
|
if (!Game.IsRunning) return false;
|
||||||
if (!Game.DebugMode) return false;
|
if (!Game.DebugMode) return false;
|
||||||
if (!::Network.isEnabled() && Game.ScenarioFile.IsPacked()) return false;
|
|
||||||
if (::Network.isEnabled() && !::Network.isHost()) return false;
|
|
||||||
|
|
||||||
::Control.DoInput(CID_Script, new C4ControlScript(pCmdPar, C4ControlScript::SCOPE_Console), CDT_Decide);
|
::Control.DoInput(CID_Script, new C4ControlScript(pCmdPar, C4ControlScript::SCOPE_Console), CDT_Decide);
|
||||||
return true;
|
return true;
|
||||||
|
|
Loading…
Reference in New Issue