~mil/mepo

cd3c8e48ec2a6dce07743e2587ff829d07792e4e — Miles Alan 4 months ago be0cb2a
Fix bugs related to filedump for timers
1 files changed, 2 insertions(+), 2 deletions(-)

M src/api/filedump.zig
M src/api/filedump.zig => src/api/filedump.zig +2 -2
@@ 120,12 120,12 @@ fn filedump(mepo: *Mepo, save_types: []const u8, filepath: []const u8) !void {
        }

        // Timers
        var it_timers = mepo.table_signals.iterator();
        var it_timers = mepo.table_timers.iterator();
        while (it_timers.next()) |sig| {
            const statement_timer = try std.fmt.allocPrint(
                arena.allocator(),
                "bind_timer {d} [{s}];",
                .{ sig.key_ptr.*, sig.value_ptr.* },
                .{ sig.key_ptr.*.interval_seconds, sig.value_ptr.* },
            );
            try lines.append(statement_timer);
        }