zephr/game: fix few memory leaks (and introduced a big one). spawn particles when tiles merge

This commit is contained in:
2024-01-27 04:05:00 +02:00
parent 98c3a0f8af
commit 292f0058d5
8 changed files with 194 additions and 24 deletions
+2
View File
@@ -671,6 +671,8 @@ init :: proc(font_path: cstring, icon_path: cstring, window_title: cstring, wind
deinit :: proc() {
backend_shutdown()
queue.destroy(&zephr_ctx.event_queue)
delete(zephr_ctx.ui.elements)
//audio_close()
}