Skip to content

Commit

Permalink
eventually this should be handled in exlaunch but idk how to edit that
Browse files Browse the repository at this point in the history
  • Loading branch information
duncathan committed Nov 17, 2022
1 parent 4ee03aa commit 239d953
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion open_dread_rando/templates/custom_init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,13 @@ function RemoteLua.SetReceivedPickups(count)
end

exclude_function_from_logging = exclude_function_from_logging or function(_) end
push_debug_print_override = push_debug_print_override or function() end
pop_debug_print_override = pop_debug_print_override or function() end

local orig_update = RemoteLua.Update
if type(orig_update) == "function" then
exclude_function_from_logging("Update")
function RemoteLua.Update()
exclude_function_from_logging("Update")
push_debug_print_override()
orig_update()
pop_debug_print_override()
Expand Down

0 comments on commit 239d953

Please sign in to comment.