def unload():
        """Unload the current map from the world."""
        global __tile_maps
        global active_map
        if TileMapManager.active_map != None:
            world = Ragnarok.get_world()

            for obj in TileMapManager.active_map.objects:
                world.remove_obj(obj)
            world.remove_obj(TileMapManager.active_map)
def unload ( ) : global __tile_maps global active_map if TileMapManager . active_map != None : world = Ragnarok . get_world ( ) for obj in TileMapManager . active_map . objects : world . remove_obj ( obj ) world . remove_obj ( TileMapManager . active_map )
Unload the current map from the world.