Skip to content

Commit

Permalink
Remove log statements
Browse files Browse the repository at this point in the history
  • Loading branch information
fabioarnold committed Jan 9, 2023
1 parent e7ff860 commit 576f6aa
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/main.zig
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,6 @@ const GameData = struct {
var stream = std.io.fixedBufferStream(&buf);
std.json.stringify(self, .{}, stream.writer()) catch unreachable;
web.LocalStorage.setString("snapshot", stream.getWritten());
std.log.info("snapshot saved", .{});
}

fn loadSnapshot(self: *GameData) void {
Expand All @@ -118,7 +117,6 @@ const GameData = struct {
.ignore_unknown_fields = true,
}) catch return;
uploadRoomTexture(&cur_room_tex, cur_stage.rooms[self.cur_room_index]); // FIXME
std.log.info("snapshot loaded", .{});
}

fn tickTitle(self: *GameData) void {
Expand Down

0 comments on commit 576f6aa

Please sign in to comment.