Skip to content

Commit

Permalink
reset gui lastGamemode on map open / new map
Browse files Browse the repository at this point in the history
felt like it needed
  • Loading branch information
chris1384 authored Aug 28, 2024
1 parent 38862c1 commit 89c890d
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions [editor]/editor_gui/client/test.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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
)

0 comments on commit 89c890d

Please sign in to comment.