mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-26 06:29:23 +01:00
Merge pull request #13810 from AnturK/anomalyfix
Fixes anomalies spawning same place
This commit is contained in:
@@ -28,7 +28,7 @@
|
||||
/datum/round_event/anomaly/start()
|
||||
var/turf/T = pick(get_area_turfs(impact_area))
|
||||
if(T)
|
||||
newAnomaly = new /obj/effect/anomaly/flux(T.loc)
|
||||
newAnomaly = new /obj/effect/anomaly/flux(T)
|
||||
|
||||
/datum/round_event/anomaly/tick()
|
||||
if(!newAnomaly)
|
||||
|
||||
@@ -17,7 +17,7 @@
|
||||
/datum/round_event/anomaly/anomaly_bluespace/start()
|
||||
var/turf/T = pick(get_area_turfs(impact_area))
|
||||
if(T)
|
||||
newAnomaly = new /obj/effect/anomaly/bluespace(T.loc)
|
||||
newAnomaly = new /obj/effect/anomaly/bluespace(T)
|
||||
|
||||
|
||||
/datum/round_event/anomaly/anomaly_bluespace/end()
|
||||
|
||||
@@ -17,7 +17,7 @@
|
||||
/datum/round_event/anomaly/anomaly_flux/start()
|
||||
var/turf/T = pick(get_area_turfs(impact_area))
|
||||
if(T)
|
||||
newAnomaly = new /obj/effect/anomaly/flux(T.loc)
|
||||
newAnomaly = new /obj/effect/anomaly/flux(T)
|
||||
|
||||
|
||||
/datum/round_event/anomaly/anomaly_flux/end()
|
||||
|
||||
@@ -16,4 +16,4 @@
|
||||
/datum/round_event/anomaly/anomaly_grav/start()
|
||||
var/turf/T = pick(get_area_turfs(impact_area))
|
||||
if(T)
|
||||
newAnomaly = new /obj/effect/anomaly/grav(T.loc)
|
||||
newAnomaly = new /obj/effect/anomaly/grav(T)
|
||||
@@ -16,7 +16,7 @@
|
||||
/datum/round_event/anomaly/anomaly_pyro/start()
|
||||
var/turf/T = pick(get_area_turfs(impact_area))
|
||||
if(T)
|
||||
newAnomaly = new /obj/effect/anomaly/pyro(T.loc)
|
||||
newAnomaly = new /obj/effect/anomaly/pyro(T)
|
||||
|
||||
/datum/round_event/anomaly/anomaly_pyro/tick()
|
||||
if(!newAnomaly)
|
||||
|
||||
@@ -16,4 +16,4 @@
|
||||
/datum/round_event/anomaly/anomaly_vortex/start()
|
||||
var/turf/T = pick(get_area_turfs(impact_area))
|
||||
if(T)
|
||||
newAnomaly = new /obj/effect/anomaly/bhole(T.loc)
|
||||
newAnomaly = new /obj/effect/anomaly/bhole(T)
|
||||
Reference in New Issue
Block a user