Fix #45: mapEntityUpdateInterval and gapUpdateInterval are preserved between sessions

This commit is contained in:
Evil Factory
2022-03-01 13:09:43 -03:00
parent 08e0f72cbe
commit ffeef7a0d3

View File

@@ -502,6 +502,9 @@ namespace Barotrauma
public void Stop()
{
mapEntityUpdateInterval = 1;
gapUpdateInterval = 4;
foreach(var cmd in luaAddedCommand)
{
DebugConsole.Commands.Remove(cmd);