diff options
-rw-r--r-- | pokemontools/map_editor.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/pokemontools/map_editor.py b/pokemontools/map_editor.py index 1cd9b02..43042cb 100644 --- a/pokemontools/map_editor.py +++ b/pokemontools/map_editor.py @@ -128,6 +128,7 @@ def get_constants(config=config): name, value = [s.strip() for s in line.split(' EQU ')] constants[name] = eval(value.split(';')[0].replace('$','0x').replace('%','0b')) config.constants = constants + return constants class Application(Frame): def __init__(self, master=None, config=config): |