diff options
author | nokoe <nokoe@mailbox.org> | 2024-06-23 00:59:05 +0200 |
---|---|---|
committer | metamuffin <metamuffin@disroot.org> | 2024-06-23 19:31:29 +0200 |
commit | f722ef29c49e358c0e7fb660d49e99cf0f7591fa (patch) | |
tree | 842802cd700c0549de63b673a11555e59314c0b1 /client/scripts/item.gd | |
parent | 8709a005e81495e8c3ed2c12c1e1421e4736a258 (diff) | |
download | hurrycurry-f722ef29c49e358c0e7fb660d49e99cf0f7591fa.tar hurrycurry-f722ef29c49e358c0e7fb660d49e99cf0f7591fa.tar.bz2 hurrycurry-f722ef29c49e358c0e7fb660d49e99cf0f7591fa.tar.zst |
fix warnings
Diffstat (limited to 'client/scripts/item.gd')
-rw-r--r-- | client/scripts/item.gd | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/client/scripts/item.gd b/client/scripts/item.gd index 5c73db9f..91ee012f 100644 --- a/client/scripts/item.gd +++ b/client/scripts/item.gd @@ -14,7 +14,7 @@ func _init(idx: int, owned_by_: Node3D): add_child(load("res://models/prefabs/map/bag.tscn").instantiate()) var mesh = MeshInstance3D.new() var text = TextMesh.new() - var mat = ORMMaterial3D.new() + var mat = StandardMaterial3D.new() text.text = t text.font = SystemFont.new() text.depth = 0 @@ -37,5 +37,5 @@ func progress(p: float, warn: bool): progress_instance.visible = true progress_instance.set_progress(p, warn) -func finish(warn: bool): +func finish(_warn: bool): progress_instance.visible = false |