Merge pull request #31614 from AnturK/zap

Fixes electrocution animation
This commit is contained in:
Jordan Brown
2017-10-13 10:13:24 -04:00
committed by CitadelStationBot
parent 692e226d24
commit 1941a8fcfa
2 changed files with 2 additions and 2 deletions

View File

@@ -710,7 +710,7 @@
var/static/mutable_appearance/electrocution_skeleton_anim
if(!electrocution_skeleton_anim)
electrocution_skeleton_anim = mutable_appearance(icon, "electrocuted_base")
electrocution_skeleton_anim.appearance_flags |= RESET_COLOR
electrocution_skeleton_anim.appearance_flags |= RESET_COLOR|KEEP_APART
add_overlay(electrocution_skeleton_anim)
addtimer(CALLBACK(src, .proc/end_electrocution_animation, electrocution_skeleton_anim), anim_duration)