missed proc refs
This commit is contained in:
@@ -108,7 +108,7 @@
|
||||
if(!modules || !modules.len)
|
||||
return
|
||||
for(var/datum/mapGeneratorModule/mod in modules)
|
||||
INVOKE_ASYNC(mod, /datum/mapGeneratorModule.proc/generate)
|
||||
INVOKE_ASYNC(mod, TYPE_PROC_REF(/datum/mapGeneratorModule, generate))
|
||||
|
||||
|
||||
//Requests the mapGeneratorModule(s) to (re)generate this one turf
|
||||
@@ -119,7 +119,7 @@
|
||||
if(!modules || !modules.len)
|
||||
return
|
||||
for(var/datum/mapGeneratorModule/mod in modules)
|
||||
INVOKE_ASYNC(mod, /datum/mapGeneratorModule.proc/place, T)
|
||||
INVOKE_ASYNC(mod, TYPE_PROC_REF(/datum/mapGeneratorModule, place), T)
|
||||
|
||||
|
||||
//Replaces all paths in the module list with actual module datums
|
||||
@@ -153,10 +153,10 @@
|
||||
return
|
||||
|
||||
var/endInput = input(usr,"End turf of Map (X;Y;Z)", "Map Gen Settings", "[world.maxx];[world.maxy];[mob ? mob.z : 1]") as text|null
|
||||
|
||||
|
||||
if (isnull(endInput))
|
||||
return
|
||||
|
||||
|
||||
//maxx maxy and current z so that if you fuck up, you only fuck up one entire z level instead of the entire universe
|
||||
if(!startInput || !endInput)
|
||||
to_chat(src, "Missing Input")
|
||||
|
||||
Reference in New Issue
Block a user