fixed critical bug

This commit is contained in:
Tabby 2026-01-17 18:47:52 +11:00
parent f954a04c79
commit 2efd393efb
5 changed files with 56 additions and 3 deletions

View file

@ -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)