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])