Error message if a character config file isn't found, Linux version tries to search for "Characterfolder" if "characterfolder" isn't found

This commit is contained in:
Regalis
2016-08-11 21:30:05 +03:00
parent 7716b5e9d4
commit ab923c47e3
3 changed files with 32 additions and 5 deletions
+1 -1
View File
@@ -1645,7 +1645,7 @@ namespace Barotrauma
#if DEBUG
System.Diagnostics.Debug.Assert(body != null, "Tried to send a PhysicsBodyPosition message for an item that has no physics body ("+Name+")");
#else
if (body == null) return;
if (body == null) return false;
#endif
body.FillNetworkData(message);