Bug Fixes
ZScript
- always deallocate local arrays when script ends
e49dd5f65
When the bugfix QR
Always Deallocate Array
is off, local arrays are sometimes not deallocated when FFC/item/global scripts end. This can quickly hit the limit for the number of arrays allowed, and results in bad things.If a local array pointer is passed to another script without changing ownership, this QR being off prevents it from being deleted. Otherwise, as long as the calling script stays alive that array remains valid.
There is no known quest that relies on this behavior - so this QR now has no impact and local arrays owned by a script are always deallocated when it ends.
Currently, the appropriate way to keep a local array alive beyond the life of the script that created it is to call
OwnArray
in some other script.https://discord.com/channels/876899628556091432/1373883674361335829
Build
- integrate zscript playground into
web
build target/package32532d209
This also fixes an issue caused by some recent-ish emscripten update that broke compiling scripts in the web editor.
- move fmt to third_party
985d3d730
Chores
- update replay_uploads_known_good_replays.json
07151107a
Refactors
Player
- remove unused ZASMSTackTrace, DebugConsole
c5c794ad9