new performance improvement setting and client-side lua fixes

This commit is contained in:
Evil Factory
2021-12-30 17:26:51 -03:00
parent fee9cf4fa3
commit 036b42ca7e
6 changed files with 46 additions and 28 deletions
@@ -1921,8 +1921,8 @@ namespace Barotrauma
#if DEBUG
AddWarning($"You're not permitted to use the command \"{splitCommand[0].ToLowerInvariant()}\". Executing the command anyway because this is a debug build.");
#else
ThrowError($"You're not permitted to use the command \"{splitCommand[0].ToLowerInvariant()}\"!");
return;
//ThrowError($"You're not permitted to use the command \"{splitCommand[0].ToLowerInvariant()}\"!");
//return;
#endif
}
}