mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-07-20 20:45:28 +01:00
Fixes unremovable components counting towards overall capacity (#60528)
BCIs are no longer 6 slot instead of 10
This commit is contained in:
@@ -159,7 +159,7 @@
|
||||
source.balloon_alert(attacker, "there is already a circuitboard inside!")
|
||||
return
|
||||
|
||||
if(length(logic_board.attached_components) > capacity)
|
||||
if(length(logic_board.attached_components) - length(unremovable_circuit_components) > capacity)
|
||||
source.balloon_alert(attacker, "this is too large to fit into [parent]!")
|
||||
return
|
||||
|
||||
|
||||
Reference in New Issue
Block a user