mirror of
https://github.com/infinitefusion/infinitefusion-e18.git
synced 2025-12-07 21:24:59 +00:00
Added "Name" property to map_metadata.txt, fixed map names not being translated in some cases, fixed minor things from a previous commit
This commit is contained in:
@@ -98,9 +98,7 @@ class Game_Map
|
||||
def tileset_id; return @map.tileset_id; end
|
||||
|
||||
def name
|
||||
ret = pbGetMessage(MessageTypes::MapNames,@map_id)
|
||||
ret.gsub!(/\\PN/,$Trainer.name) if $Trainer
|
||||
return ret
|
||||
return pbGetMapNameFromId(@map_id)
|
||||
end
|
||||
|
||||
def metadata
|
||||
|
||||
Reference in New Issue
Block a user