I was wanting to store a map's name as a variable via the script call $game_map.name, but I keep getting this error:
How do I fix this?
Code:
undefined method `name` for # < Game_Map: 0xf849018>