Reset obj.customscript in hardreset()

This prevents yet another place where stale level data from one level
could have affected another level...
This commit is contained in:
Misa 2021-08-31 07:55:40 -07:00
parent fea2010204
commit 48cddf57a6
1 changed files with 2 additions and 0 deletions

View File

@ -3563,6 +3563,8 @@ void scriptclass::hardreset(void)
}
}
obj.customscript = "";
//Script Stuff
position = 0;
commands.clear();