diff --git a/tools/src/wtotools/gui_check.py b/tools/src/wtotools/gui_check.py index 3af8114..614986e 100644 --- a/tools/src/wtotools/gui_check.py +++ b/tools/src/wtotools/gui_check.py @@ -64,6 +64,7 @@ let typeMap = { Float = types.Float Bool = types.Bool CtrlsInGui = __CONTROL_MASKS__ + LOGIN_STATE = __LOGIN_MASKS__ QUEUE_TYPE_BIT = __QUEUE_MASKS__ } function readText(p) { @@ -182,6 +183,10 @@ def verify_gui_patches( "__CONTROL_MASKS__", _integer_table_literal(stock_archive, "globalscripts/sharedenums.nut", r"\benum\s+CtrlsInGui"), ) + harness_source = harness_source.replace( + "__LOGIN_MASKS__", + _integer_table_literal(stock_archive, "globals/login/loginconsts.nut", r"\benum\s+LOGIN_STATE"), + ) harness_source = harness_source.replace( "__QUEUE_MASKS__", _integer_table_literal(stock_archive, "scripts/queue/queuetypebit.nut", r"\breturn\s+freeze\("),