Fix use-after-free of trigger table after tile engine frees it

This commit is contained in:
Martin Haye 2023-10-15 12:44:53 -07:00
parent 208d4c01f0
commit b9bd377408

View File

@ -341,6 +341,8 @@ LOAD_ALL_TILES
FREE_SCRIPTS
+freeResource SCRIPTS_LOC
LDA #0
STA SCRIPTS_ID
RTS
!macro freeScripts {