mirror of
https://github.com/infinitefusion/infinitefusion-e18.git
synced 2025-12-08 13:44:59 +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
|
end
|
||||||
|
|
||||||
def pbTerrainTag(countBridge = false)
|
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)
|
return $game_map.terrain_tag(@x, @y, countBridge)
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user