mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-28 07:38:05 +01:00
removes some ways of making unvaredited custom callbacks (#62345)
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user