diff options
| author | Anson Bridges <bridges.anson@gmail.com> | 2022-09-19 17:44:22 -0400 |
|---|---|---|
| committer | Anson Bridges <bridges.anson@gmail.com> | 2022-09-19 17:44:22 -0400 |
| commit | 1d347e770fddcdd051890cdf070fd2779ab113bf (patch) | |
| tree | 6501fb000509819b7ba58df15c9a831c8bdc44fb /src/script_to_header.py | |
| parent | 2fd755132f526c48fed2c1867530526971e1cf19 (diff) | |
problems: player controller perf, boat perf, NAVSERVER PERF
Diffstat (limited to 'src/script_to_header.py')
| -rw-r--r-- | src/script_to_header.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/script_to_header.py b/src/script_to_header.py index 452a09d..e62984e 100644 --- a/src/script_to_header.py +++ b/src/script_to_header.py @@ -43,7 +43,7 @@ def script_to_gdn(filename): returntype = "void" if "->" in line: - returntype = line[line.index("->"+1),line.index(":").strip()] + returntype = line[line.index("->")+1:line.index(":")].strip() funcname = line[ line[0:line.index("(")].rindex(" ") : int(line.index("(")) ].strip() |
