Always allow cheats on single player games

This commit is contained in:
Pavlos Touboulidis
2014-06-13 16:27:00 +03:00
parent d22658011b
commit ee4f3e5642
5 changed files with 11 additions and 6 deletions

View File

@@ -71,6 +71,11 @@ namespace OpenRA
get { return orderManager.Connection is ReplayConnection; }
}
public bool AllowDevCommands
{
get { return LobbyInfo.GlobalSettings.AllowCheats || LobbyInfo.IsSinglePlayer; }
}
public void SetLocalPlayer(string pr)
{
if (IsReplay)