Skip to content

Commit 4c02e89

Browse files
Sort gun variant script valid identifier list
So it's stable and looks nicer.
1 parent 8d5b42d commit 4c02e89

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tools/json_tools/gun_variant_validator.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -801,7 +801,7 @@ def check_identifiers(all_guns):
801801
good_tokens = [[]]
802802
idx = 0
803803
len_so_far = 0
804-
for token in good_token_list:
804+
for token in sorted(good_token_list):
805805
guns_str = string_listify(good_token_list[token], " ")
806806
good_tokens[idx].append(f"{token} ({guns_str})")
807807
len_so_far += len(good_tokens[idx][-1])

0 commit comments

Comments
 (0)