From 1d347e770fddcdd051890cdf070fd2779ab113bf Mon Sep 17 00:00:00 2001 From: Anson Bridges Date: Mon, 19 Sep 2022 17:44:22 -0400 Subject: problems: player controller perf, boat perf, NAVSERVER PERF --- src/script_to_header.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/script_to_header.py') 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() -- cgit v1.2.3