From 11c8b134d7de3d7b2249d74b26a87bc9d6acc27d Mon Sep 17 00:00:00 2001 From: ubq323 Date: Mon, 22 Apr 2024 00:34:20 +0100 Subject: rle --- server/main.ha | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'server') diff --git a/server/main.ha b/server/main.ha index 41e6b6a..475d19a 100644 --- a/server/main.ha +++ b/server/main.ha @@ -69,7 +69,6 @@ export fn main() void = { for (state.running) { const timeout = time::diff(now, next); - fmt::printfln("running loop, timeout {} sec",timeout/time::SECOND)!; loop(&state, timeout); now = time::now(time::clock::MONOTONIC); @@ -289,6 +288,7 @@ fn unload_distant_chunks(state: *server_state) void = { fmt::printfln("unloading {},{}", state.pictures[i].world_pos.0, state.pictures[i].world_pos.1)!; + free(state.pictures[i].d); delete(state.pictures[i]); }; }; -- cgit v1.2.3