diff --git a/sandcode/code/_onclick/hud/screen_objects.dm b/sandcode/code/_onclick/hud/screen_objects.dm new file mode 100644 index 0000000000..455308d4de --- /dev/null +++ b/sandcode/code/_onclick/hud/screen_objects.dm @@ -0,0 +1,7 @@ +/obj/screen/healthdoll/Click(location,control,params) + var/list/modifiers = params2list(params) + var/mob/living/L = usr + if(isliving(usr) && !(modifiers["shift"])) + usr.ClickOn(L) + else + usr.ShiftClickOn(L) diff --git a/tgstation.dme b/tgstation.dme index 2132c88557..c19023c018 100644 --- a/tgstation.dme +++ b/tgstation.dme @@ -3512,6 +3512,7 @@ #include "sandcode\code\__DEFINES\language.dm" #include "sandcode\code\__DEFINES\runechat_defines.dm" #include "sandcode\code\__DEFINES\traits.dm" +#include "sandcode\code\_onclick\hud\screen_objects.dm" #include "sandcode\code\datums\shuttles.dm" #include "sandcode\code\datums\traits\_quirk.dm" #include "sandcode\code\datums\traits\negative.dm"