Remove some unnecessary restrictions from /script message board command (#1369).

lights3
Sven Eberhardt 2015-08-08 21:49:57 -04:00
parent 20f95bf018
commit 8ec159d755
1 changed files with 0 additions and 2 deletions

View File

@ -592,8 +592,6 @@ bool C4MessageInput::ProcessCommand(const char *szCommand)
{
if (!Game.IsRunning) 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);
return true;