fixed critical bug
This commit is contained in:
parent
f954a04c79
commit
2efd393efb
5 changed files with 56 additions and 3 deletions
|
|
@ -15,7 +15,7 @@ func _ready() -> void:
|
|||
for device in PlayerInventory.botnet:
|
||||
var new_slot : ItemSlot = load("res://inv_system/item_slot.tscn").instantiate()
|
||||
new_slot.item = device
|
||||
new_slot.extra_data = "Power: " + str(PlayerInventory.power_values.get(device))
|
||||
new_slot.extra_data = "Power: " + str(device.botnet_power)
|
||||
new_slot.update_ui()
|
||||
new_slot.block_taking = true
|
||||
server_box.add_child(new_slot)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue