get_keybinds.py now only checks for "bind=" (#654)

This commit is contained in:
end-4
2024-06-28 18:16:25 +07:00
committed by GitHub
+1 -1
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