diff options
-rw-r--r-- | VP-roomwork.lua | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/VP-roomwork.lua b/VP-roomwork.lua index 839b5af..d07cdf4 100644 --- a/VP-roomwork.lua +++ b/VP-roomwork.lua @@ -57,6 +57,7 @@ function patch_logic(logic, windows, activate_debug) local window = windows[txtptr + ptr_start] if not window then return end if window.wtype == "fixed" then return end + if window.x == "var" or window.y == "var" or window.width == "var" or window.height == "var" then return end local arg1 = orB(window.x, shl(window.y, 16)) local arg2 = orB(window.width, shl(window.height, 16)) patch_opcode(PC + 1, arg1) |