mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2026-08-22 20:57:23 +01:00
[MIRROR] Start of TG Click Code Port (#12071)
Co-authored-by: Cameron Lennox <killer65311@gmail.com>
This commit is contained in:
co-authored by
Cameron Lennox
parent
c3efdda013
commit
f7de0bb70b
@@ -16,7 +16,7 @@
|
||||
w_class = ITEMSIZE_NORMAL
|
||||
var/icon_state_closed = "laptop-closed"
|
||||
|
||||
/obj/item/modular_computer/laptop/AltClick(mob/living/carbon/user)
|
||||
/obj/item/modular_computer/laptop/click_alt(mob/living/carbon/user)
|
||||
// We need to be close to it to open it
|
||||
if((!in_range(src, user)) || user.stat || user.restrained())
|
||||
return
|
||||
|
||||
Reference in New Issue
Block a user