mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-22 20:48:56 +01:00
Removes unused mapgenerator landmarks (#70260)
* Removes mapgenerator landmarks * It's unused why is it missing breaking CI * :( * Fixes the error create and destroy was blowing up its enclosure, exposing basic space to air, which causes runtimes because basic space has literally nothing Co-authored-by: LemonInTheDark <58055496+LemonInTheDark@users.noreply.github.com>
This commit is contained in:
co-authored by
LemonInTheDark
parent
8c83605151
commit
240fd8391a
@@ -1,19 +0,0 @@
|
||||
/obj/effect/landmark/map_generator
|
||||
var/startTurfX = 0
|
||||
var/startTurfY = 0
|
||||
var/startTurfZ = -1
|
||||
var/endTurfX = 0
|
||||
var/endTurfY = 0
|
||||
var/endTurfZ = -1
|
||||
var/mapGeneratorType = /datum/map_generator/nature
|
||||
var/datum/map_generator/mapGenerator
|
||||
|
||||
/obj/effect/landmark/map_generator/New()
|
||||
..()
|
||||
if(startTurfZ < 0)
|
||||
startTurfZ = z
|
||||
if(endTurfZ < 0)
|
||||
endTurfZ = z
|
||||
mapGenerator = new mapGeneratorType()
|
||||
mapGenerator.defineRegion(locate(startTurfX,startTurfY,startTurfZ), locate(endTurfX,endTurfY,endTurfZ))
|
||||
mapGenerator.generate()
|
||||
Reference in New Issue
Block a user