get_keybinds.py now only checks for "bind="

This commit is contained in:
Myryk 2024-06-27 15:21:39 +02:00
parent d35c2a51b1
commit 322a5009f9

View file

@ -195,7 +195,7 @@ def get_binds_recursive(current_content, scope):
if(keybind != None):
current_content["keybinds"].append(keybind)
elif line == "" or line.startswith("$") or line.startswith("#"): # Comment, ignore
elif line == "" or not line.lstrip().startswith("bind"): # Comment, ignore
pass
else: # Normal keybind