Merge pull request #10861 from ancientpower/far-sliding-port

Ports /vg/station drink sliding
This commit is contained in:
Ghom
2020-02-12 09:06:03 +01:00
committed by GitHub
8 changed files with 142 additions and 68 deletions
+8
View File
@@ -820,3 +820,11 @@
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