Skip to content
This repository has been archived by the owner on Apr 5, 2022. It is now read-only.

Commit

Permalink
ootMulti LUA script will now continue looping even if the emulator is…
Browse files Browse the repository at this point in the history
… paused.
  • Loading branch information
LegendaryLinux committed Sep 6, 2021
1 parent 1e5f839 commit 61abbea
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lua/ootMulti.lua
Original file line number Diff line number Diff line change
Expand Up @@ -2221,6 +2221,6 @@ while true do
-- If the client is connected, check if a message bas been received on the socket connection and act on it
if clientConnected then runMessageWatcher() end

-- Advance the emulator by one frame
if not client.ispaused() then emu.frameadvance() end
-- Advance the emulator by one frame, or do nothing if the emulator is paused
emu.yield()
end

0 comments on commit 61abbea

Please sign in to comment.