removes some ways of making unvaredited custom callbacks (#62345)

This commit is contained in:
Fikou
2021-10-26 19:34:39 -04:00
committed by GitHub
parent fd578c3c74
commit ae0542603b
2 changed files with 5 additions and 3 deletions
+2
View File
@@ -266,6 +266,8 @@
SIGNAL_HANDLER
var/datum/mood_event/the_event
if(!ispath(type, /datum/mood_event))
return
if(!istext(category))
category = REF(category)
if(mood_events[category])
@@ -46,13 +46,13 @@
var/obj/effect/temp_visual/cult/rune_spawn/R1 = new(T, scribe_time, rune_color)
//the rest are not always the same, so we need types for em
var/obj/effect/temp_visual/cult/rune_spawn/R2
if(rune_word_type)
if(ispath(rune_word_type, /obj/effect/temp_visual/cult/rune_spawn))
R2 = new rune_word_type(T, scribe_time, rune_color)
var/obj/effect/temp_visual/cult/rune_spawn/R3
if(rune_innerring_type)
if(ispath(rune_innerring_type, /obj/effect/temp_visual/cult/rune_spawn))
R3 = new rune_innerring_type(T, scribe_time, rune_color)
var/obj/effect/temp_visual/cult/rune_spawn/R4
if(rune_center_type)
if(ispath(rune_center_type, /obj/effect/temp_visual/cult/rune_spawn))
R4 = new rune_center_type(T, scribe_time, rune_color)
cooldown = base_cooldown + world.time