i didn't notice i could do this better

This commit is contained in:
SandPoot
2021-02-23 17:16:31 -03:00
parent c5943e474d
commit 5fbfe083d1
@@ -1,7 +1,4 @@
/obj/screen/healthdoll/Click(location,control,params)
var/list/modifiers = params2list(params)
/obj/screen/healthdoll/Click(location, control, params)
var/mob/living/L = usr
if(isliving(usr) && !(modifiers["shift"]))
usr.ClickOn(L)
else
usr.ShiftClickOn(L)
usr.Click(L, control, params)
return FALSE //The health doll doesn't really do anything on it's own, change this if you need to