Alt click fix

This commit is contained in:
Artur
2020-09-08 17:56:05 +03:00
parent 21139001a7
commit b2fb23f4b9
3 changed files with 10 additions and 13 deletions

View File

@@ -319,15 +319,12 @@
return ..()
/*
Alt click
Unused except for AI
Used as an alternate way to interact with things.
*/
/mob/proc/AltClickOn(atom/A)
if(!A.AltClick(src))
altclick_listed_turf(A)
. = SEND_SIGNAL(src, COMSIG_MOB_ALTCLICKON, A)
if(. & COMSIG_MOB_CANCEL_CLICKON)
return
A.AltClick(src)
/mob/proc/altclick_listed_turf(atom/A)
var/turf/T = get_turf(A)

View File

@@ -11,7 +11,7 @@
var/hidden_socks = FALSE
//Mob procs
/mob/living/carbon/human/proc/underwear_toggle()
/mob/living/carbon/human/verb/underwear_toggle()
set name = "Toggle undergarments"
set category = "IC"