From 5db2fe76d9032b1915bea9643f5df8cbacd35408 Mon Sep 17 00:00:00 2001 From: nokoe Date: Sat, 13 Dec 2025 20:16:06 +0100 Subject: fix item portal --- client/map/tiles/item_portal.gd | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'client') diff --git a/client/map/tiles/item_portal.gd b/client/map/tiles/item_portal.gd index 69bad5e9..f9d2a2ec 100644 --- a/client/map/tiles/item_portal.gd +++ b/client/map/tiles/item_portal.gd @@ -16,8 +16,7 @@ class_name ItemPortal extends CounterBase -var model: PortalModel = load("res://map/tiles/portal.tscn").instantiate() +var model := preload("res://map/tiles/portal.tscn") func _init(ctx: TileFactory.TileCC, type: bool): - super(ctx) + super(ctx, model) model.configure(0.2, type) - base.add_child(model) -- cgit v1.3