diff options
author | defanor <defanor@uberspace.net> | 2022-01-19 23:16:02 +0300 |
---|---|---|
committer | defanor <defanor@uberspace.net> | 2022-01-19 23:16:02 +0300 |
commit | 3aea9ca26b84d71a9427fa3639f213a3ee832837 (patch) | |
tree | db1e5f3bda4a049e31e24e731ba211e0531bae05 | |
parent | 76afcefd528c46bfc2a482b5a56aa588e8704a11 (diff) |
Fix map name detection
Indexes in the database start from 1.
-rwxr-xr-x | dwproxy.py | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -41,7 +41,7 @@ exits = dict() def map_name(map_id): if map_id < len(map_names): - return map_names[map_id] + return map_names[map_id - 1] else: return "Unknown" |