Skip to content

Commit

Permalink
nogame: fix duckloon disappearing for a short time after a resize
Browse files Browse the repository at this point in the history
  • Loading branch information
slime73 committed Feb 5, 2025
1 parent 5d51471 commit b20a0b8
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/scripts/nogame.lua
Original file line number Diff line number Diff line change
Expand Up @@ -3267,6 +3267,8 @@ function love.nogame()

function love.resize()
create_world()
g_t = 0
g_step = 0
end

function love.conf(t)
Expand Down
2 changes: 2 additions & 0 deletions src/scripts/nogame.lua.h
Original file line number Diff line number Diff line change
Expand Up @@ -12098,6 +12098,8 @@ const unsigned char nogame_lua[] =
0x09, 0x66, 0x75, 0x6e, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x20, 0x6c, 0x6f, 0x76, 0x65, 0x2e, 0x72, 0x65, 0x73,
0x69, 0x7a, 0x65, 0x28, 0x29, 0x0a,
0x09, 0x09, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x5f, 0x77, 0x6f, 0x72, 0x6c, 0x64, 0x28, 0x29, 0x0a,
0x09, 0x09, 0x67, 0x5f, 0x74, 0x20, 0x3d, 0x20, 0x30, 0x0a,
0x09, 0x09, 0x67, 0x5f, 0x73, 0x74, 0x65, 0x70, 0x20, 0x3d, 0x20, 0x30, 0x0a,
0x09, 0x65, 0x6e, 0x64, 0x0a,
0x0a,
0x09, 0x66, 0x75, 0x6e, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x20, 0x6c, 0x6f, 0x76, 0x65, 0x2e, 0x63, 0x6f, 0x6e,
Expand Down

0 comments on commit b20a0b8

Please sign in to comment.