Refactors how circuit size is calculated. Fixed module circuit size not taking up capacity equal to the amount of circuit components inside of it. (#61554)

Co-authored-by: Watermelon914 <3052169-Watermelon914@users.noreply.gitlab.com>
This commit is contained in:
Watermelon914
2021-09-30 11:09:42 -07:00
committed by GitHub
co-authored by Watermelon914
parent f109d9d654
commit 1a507d23ed
6 changed files with 36 additions and 5 deletions
@@ -15,6 +15,8 @@
var/datum/circuit_variable/current_variable
circuit_size = 0
/obj/item/circuit_component/getter/populate_options()
variable_name = add_option_port("Variable", null)
@@ -19,6 +19,8 @@
var/current_type
circuit_size = 0
/obj/item/circuit_component/setter/populate_options()
variable_name = add_option_port("Variable", null)