Skip to content

Commit

Permalink
Add missing argument to gs:resume(pre, ...)
Browse files Browse the repository at this point in the history
  • Loading branch information
vrld committed Dec 16, 2014
1 parent 605953d commit b18c399
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gamestate.lua
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ function GS.pop(...)
local pre, to = stack[#stack], stack[#stack-1]
stack[#stack] = nil
;(pre.leave or __NULL__)(pre)
return (to.resume or __NULL__)(to, ...)
return (to.resume or __NULL__)(to, pre, ...)
end

function GS.current()
Expand Down

0 comments on commit b18c399

Please sign in to comment.