From 368ff62538344deb85a4225e0efbf62589c2a832 Mon Sep 17 00:00:00 2001 From: CPunch Date: Fri, 12 Aug 2022 00:10:47 -0500 Subject: [PATCH] 'not' not '!' --- lparser.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lparser.py b/lparser.py index 92dc3c4..617f7ac 100644 --- a/lparser.py +++ b/lparser.py @@ -235,7 +235,7 @@ class LuaDecomp: elif instr.opcode == Opcodes.UNM: self.__setReg(instr.A, "-" + self.__getReg(instr.B)) elif instr.opcode == Opcodes.NOT: - self.__setReg(instr.A, "!" + self.__getReg(instr.B)) + self.__setReg(instr.A, "not " + self.__getReg(instr.B)) elif instr.opcode == Opcodes.LEN: self.__setReg(instr.A, "#" + self.__getCurrInstr(instr.B)) elif instr.opcode == Opcodes.CONCAT: