mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-24 13:38:41 +01:00
Fixes another borg runtime + middle click cycling for borgs (#52476)
* zoom * aight then
This commit is contained in:
@@ -85,11 +85,6 @@
|
||||
W.afterattack(A, src, 0, params)
|
||||
return
|
||||
|
||||
//Middle click cycles through selected modules.
|
||||
/mob/living/silicon/robot/MiddleClickOn(atom/A)
|
||||
. = ..()
|
||||
cycle_modules()
|
||||
|
||||
//Give cyborgs hotkey clicks without breaking existing uses of hotkey clicks
|
||||
// for non-doors/apcs
|
||||
/mob/living/silicon/robot/CtrlShiftClickOn(atom/A)
|
||||
|
||||
@@ -313,7 +313,7 @@
|
||||
* * module_num - the slot number being selected
|
||||
*/
|
||||
/mob/living/silicon/robot/proc/select_module(module_num)
|
||||
if(!held_items[module_num])
|
||||
if(is_invalid_module_number(module_num) || !held_items[module_num]) //If the slot number is invalid, or there's nothing there, we have nothing to equip
|
||||
return FALSE
|
||||
|
||||
switch(module_num)
|
||||
|
||||
Reference in New Issue
Block a user