summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--VP-roomwork.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/VP-roomwork.lua b/VP-roomwork.lua
index a3f1827..475b9a8 100644
--- a/VP-roomwork.lua
+++ b/VP-roomwork.lua
@@ -5,7 +5,7 @@ function patch_logic(logic, windows, activate_debug)
return logic:readU32()
end
local patch_opcode = function(PC, newcode)
- logic:bseek(PC * 4)
+ logic:wseek(PC * 4)
logic:writeU32(newcode)
end
local txt_process = function(PC)