Skip to content

Commit

Permalink
update example
Browse files Browse the repository at this point in the history
  • Loading branch information
Dregu committed Feb 8, 2024
1 parent 740489c commit bad75dc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/savestate.lua
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ set_callback(function(ctx)
end
ctx:win_separator()
for i, v in pairs(states) do
if ctx:win_button(F "Load #{i}: frame {v:get().time_level}") then
if ctx:win_button(F "Load #{i}: frame {v:get_state().time_level}") then
do_load = v
end
end
Expand Down

0 comments on commit bad75dc

Please sign in to comment.