diff --git a/[editor]/editor_gui/client/test.lua b/[editor]/editor_gui/client/test.lua index 8db53fe8..136795ca 100644 --- a/[editor]/editor_gui/client/test.lua +++ b/[editor]/editor_gui/client/test.lua @@ -251,3 +251,11 @@ end function noDamageInBasicTest() cancelEvent() end + +addEventHandler ( "saveloadtest_return", root, + function ( command ) + if command == "new" or command == "open" then + lastTestGamemode = nil + end + end +)