summaryrefslogtreecommitdiff
path: root/addons/escoria-core/game/scenes/inventory
diff options
context:
space:
mode:
authorradiohotline <radoihotline@disroot.rg>2026-08-25 16:33:56 +0300
committerradiohotline <radoihotline@disroot.rg>2026-08-25 16:33:56 +0300
commita89e744ed0e8c759caf041a580112365bbfe4303 (patch)
treedd61e320904176995727e86a857d00c90d4933ba /addons/escoria-core/game/scenes/inventory
parent6d53d8cac78250dc888aa49d5f9d4175c6652feb (diff)
escoria updateHEADmain
Diffstat (limited to 'addons/escoria-core/game/scenes/inventory')
-rw-r--r--addons/escoria-core/game/scenes/inventory/inventory_ui.gd4
1 files changed, 2 insertions, 2 deletions
diff --git a/addons/escoria-core/game/scenes/inventory/inventory_ui.gd b/addons/escoria-core/game/scenes/inventory/inventory_ui.gd
index 082c250..e3e8dcf 100644
--- a/addons/escoria-core/game/scenes/inventory/inventory_ui.gd
+++ b/addons/escoria-core/game/scenes/inventory/inventory_ui.gd
@@ -1,6 +1,6 @@
## Manages the inventory on the GUI connected to the inventory_ui_container variable.
-extends Control
class_name ESCInventory
+extends Control
## The actual container node to add items as children of. Should be a Container.
@export var inventory_ui_container: NodePath
@@ -167,7 +167,7 @@ func remove_item_by_id(item_id: String) -> void:
## #### Returns[br]
## [br]
## Returns nothing.
-func _on_escoria_global_changed(global: String, old_value, new_value) -> void:
+func _on_escoria_global_changed(global: String, _old_value, new_value) -> void:
if !global.begins_with("i/"):
return
var item = global.rsplit("i/", false)