Added commands to change sub, shuttle, gamemode & mission
Also fixed the exe icons
This commit is contained in:
@@ -68,7 +68,7 @@ namespace Barotrauma
|
||||
|
||||
return commands.ToArray();
|
||||
}
|
||||
|
||||
|
||||
public static void ExecuteCommand(string command, GameMain game)
|
||||
{
|
||||
if (string.IsNullOrWhiteSpace(command)) return;
|
||||
|
||||
@@ -293,11 +293,11 @@ namespace Barotrauma
|
||||
|
||||
public override string ToString()
|
||||
{
|
||||
/*#if CLIENT
|
||||
#if CLIENT
|
||||
return (GameMain.DebugDraw) ? Name + "(ID: " + ID + ")" : Name;
|
||||
#elif SERVER*/
|
||||
#elif SERVER
|
||||
return Name + "(ID: " + ID + ")";
|
||||
//#endif
|
||||
#endif
|
||||
}
|
||||
|
||||
public List<IPropertyObject> AllPropertyObjects
|
||||
@@ -1304,7 +1304,6 @@ namespace Barotrauma
|
||||
|
||||
public void ServerWrite(NetBuffer msg, Client c, object[] extraData = null)
|
||||
{
|
||||
DebugConsole.NewMessage(ToString(), Color.Magenta);
|
||||
if (extraData == null || extraData.Length == 0 || !(extraData[0] is NetEntityEvent.Type))
|
||||
{
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user