Skip to content

Commit

Permalink
Fix rejoining issue.
Browse files Browse the repository at this point in the history
fixes #876
  • Loading branch information
IntegratedQuantum committed Jan 2, 2025
1 parent 59cbde3 commit c316017
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Inventory.zig
Original file line number Diff line number Diff line change
Expand Up @@ -217,6 +217,7 @@ pub const Sync = struct { // MARK: Sync
std.debug.assert(freeIdList.items.len == maxId); // leak
freeIdList.deinit();
inventories.deinit();
maxId = 0;
}

pub fn disconnectUser(user: *main.server.User) void {
Expand Down

0 comments on commit c316017

Please sign in to comment.