mirror of
https://github.com/infinitefusion/infinitefusion-e18.git
synced 2026-01-22 14:26:01 +00:00
Fixed SystemStackError when loading a connected map with an event at its edge facing away from that edge
This commit is contained in:
@@ -65,8 +65,8 @@ class PokemonMapFactory
|
||||
return getMap(id, false)
|
||||
end
|
||||
|
||||
def getNewMap(playerX, playerY)
|
||||
id = $game_map.map_id
|
||||
def getNewMap(playerX, playerY, map_id = nil)
|
||||
id = map_id || $game_map.map_id
|
||||
MapFactoryHelper.eachConnectionForMap(id) do |conn|
|
||||
mapidB = nil
|
||||
newx = 0
|
||||
|
||||
Reference in New Issue
Block a user