mirror of
https://github.com/infinitefusion/infinitefusion-e18.git
synced 2025-12-06 06:01:46 +00:00
Fixed error when getting terrain tag when the player moves between connected maps
This commit is contained in:
@@ -228,7 +228,7 @@ class Game_Player < Game_Character
|
||||
end
|
||||
|
||||
def pbTerrainTag(countBridge = false)
|
||||
return $map_factory.getTerrainTag(self.map.map_id, @x, @y, countBridge) if $map_factory
|
||||
return $map_factory.getTerrainTagFromCoords(self.map.map_id, @x, @y, countBridge) if $map_factory
|
||||
return $game_map.terrain_tag(@x, @y, countBridge)
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user