Added commands to change sub, shuttle, gamemode & mission

Also fixed the exe icons
This commit is contained in:
juanjp600
2017-06-22 21:42:09 -03:00
parent be2074b4f0
commit ad1935fdcf
8 changed files with 152 additions and 27 deletions
+1 -1
View File
@@ -68,7 +68,7 @@ namespace Barotrauma
return commands.ToArray();
}
public static void ExecuteCommand(string command, GameMain game)
{
if (string.IsNullOrWhiteSpace(command)) return;
+3 -4
View File
@@ -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;