fixed it for real this time

This commit is contained in:
ancientpower
2020-02-04 16:38:20 -06:00
parent 6342116168
commit 0d6ffbc432
3 changed files with 41 additions and 49 deletions
-8
View File
@@ -756,11 +756,3 @@
target.layer = old_layer
target.plane = old_plane
current_button.appearance_cache = target.appearance
/proc/get_action_of_type(mob/M, var/action_type)
if(!M.actions || !ispath(action_type, /datum/action))
return
for(var/datum/action/A in M.actions)
if(istype(A, action_type))
return A
return