Skip to content

Commit

Permalink
fix last thing properly
Browse files Browse the repository at this point in the history
  • Loading branch information
bgkillas committed Dec 5, 2024
1 parent d498144 commit 9b2e7d4
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions quant.ew/files/resource/append/action_fix.lua
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,7 @@ for i=#actions,1,-1 do
local func = action.action
action.action = function(...)
if reflecting then
func(...)
goto continue
return func(...)
end

local oldSetRandomSeed = SetRandomSeed
Expand All @@ -31,11 +30,11 @@ for i=#actions,1,-1 do
oldSetRandomSeed(seed, seed)
end

func(...)
local r = func(...)

SetRandomSeed = oldSetRandomSeed
return r
end
::continue::
end

local orig = GetUpdatedEntityID
Expand Down

0 comments on commit 9b2e7d4

Please sign in to comment.