clean up memory after the game is done
This commit is contained in:
@@ -20,5 +20,10 @@ run :: proc() {
|
||||
render_world(&world)
|
||||
rl.EndDrawing()
|
||||
}
|
||||
|
||||
delete(world.path)
|
||||
delete(world.towers)
|
||||
delete(world.events)
|
||||
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user