fixes isOutdoor

This commit is contained in:
infinitefusion
2024-12-21 21:14:44 -05:00
parent 4cdd6878fb
commit 5034855f98

View File

@@ -1503,7 +1503,7 @@ end
#Returns if the current map is an outdoor map
def isOutdoor()
current_map = $game_map.map_id
map_metadata = GameData::MapMetadata.try_get(map_id)
map_metadata = GameData::MapMetadata.try_get(current_map)
return map_metadata && map_metadata.outdoor_map
end