mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-07-17 10:03:50 +01:00
fix wrong cyborg modules getting unselected when losing one to damage (#31868)
This commit is contained in:
@@ -29,7 +29,8 @@
|
||||
A.Remove(src)
|
||||
all_active_items[index] = CYBORG_EMPTY_MODULE
|
||||
SEND_SIGNAL(O, COMSIG_CYBORG_ITEM_DEACTIVATED, src)
|
||||
selected_item = null
|
||||
if(selected_item == O)
|
||||
selected_item = null
|
||||
var/atom/movable/screen/robot/active_module/screen = inventory_screens[index]
|
||||
screen.icon_state = screen.deactivated_icon_string
|
||||
|
||||
|
||||
Reference in New Issue
Block a user