From f722ef29c49e358c0e7fb660d49e99cf0f7591fa Mon Sep 17 00:00:00 2001 From: nokoe Date: Sun, 23 Jun 2024 00:59:05 +0200 Subject: fix warnings --- client/scripts/item.gd | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'client/scripts/item.gd') 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 -- cgit v1.2.3-70-g09d2