Cached MapInfos.rxdata and map_connections.dat, reduced usage of load_data

This commit is contained in:
Maruno17
2021-02-26 23:00:27 +00:00
parent c9903c59c8
commit b281734312
16 changed files with 65 additions and 41 deletions

View File

@@ -343,7 +343,7 @@ end
#===============================================================================
def pbGetBasicMapNameFromId(id)
begin
map = load_data("Data/MapInfos.rxdata")
map = pbLoadMapInfos
return "" if !map
return map[id].name
rescue