mirror of
https://github.com/infinitefusion/infinitefusion-e18.git
synced 2025-12-09 06:04:59 +00:00
Moved global/map metadata constants and schema into modules
This commit is contained in:
@@ -555,7 +555,7 @@ end
|
||||
Events.onMapCreate += proc { |_sender, e|
|
||||
mapID=e[0]
|
||||
map=e[1]
|
||||
if pbGetMetadata(mapID,MetadataDungeon)
|
||||
if pbGetMetadata(mapID,MapMetadata::DUNGEON)
|
||||
# this map is a randomly generated dungeon
|
||||
dungeon=Dungeon.new(map.width,map.height)
|
||||
dungeon.generate
|
||||
|
||||
Reference in New Issue
Block a user