mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-07-18 11:36:24 +01:00
Fixes a slime emote runtime (#52896)
It wasn't checking the parent call return value. This is the runtime:
This commit is contained in:
@@ -28,9 +28,11 @@
|
||||
|
||||
/datum/emote/slime/mood/run_emote(mob/user, params, type_override, intentional)
|
||||
. = ..()
|
||||
var/mob/living/simple_animal/slime/S = user
|
||||
S.mood = mood
|
||||
S.regenerate_icons()
|
||||
if(!.)
|
||||
return
|
||||
var/mob/living/simple_animal/slime/slime_user = user
|
||||
slime_user.mood = mood
|
||||
slime_user.regenerate_icons()
|
||||
|
||||
/datum/emote/slime/mood/sneaky
|
||||
key = "moodsneaky"
|
||||
|
||||
Reference in New Issue
Block a user