mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-23 13:10:02 +01:00
[MIRROR] Ctrl click refactor (#28157)
* Ctrl click refactor * fex --------- Co-authored-by: SyncIt21 <110812394+SyncIt21@users.noreply.github.com> Co-authored-by: Gandalf <9026500+Gandalf2k15@users.noreply.github.com>
This commit is contained in:
co-authored by
SyncIt21
Gandalf
parent
526bbc0b11
commit
6005276433
@@ -472,10 +472,7 @@
|
||||
update_appearance(UPDATE_ICON)
|
||||
return ..()
|
||||
|
||||
/obj/item/modular_computer/CtrlShiftClick(mob/user)
|
||||
. = ..()
|
||||
if(.)
|
||||
return
|
||||
/obj/item/modular_computer/click_ctrl_shift(mob/user)
|
||||
if(!inserted_disk)
|
||||
return
|
||||
user.put_in_hands(inserted_disk)
|
||||
|
||||
@@ -162,12 +162,9 @@
|
||||
return ITEM_INTERACT_SUCCESS
|
||||
|
||||
|
||||
/obj/item/modular_computer/pda/CtrlClick(mob/user)
|
||||
. = ..()
|
||||
if(.)
|
||||
return
|
||||
|
||||
/obj/item/modular_computer/pda/item_ctrl_click(mob/user)
|
||||
remove_pen(user)
|
||||
return CLICK_ACTION_SUCCESS
|
||||
|
||||
///Finds how hard it is to send a virus to this tablet, checking all programs downloaded.
|
||||
/obj/item/modular_computer/pda/proc/get_detomatix_difficulty()
|
||||
|
||||
Reference in New Issue
Block a user