From 6d4f0fe089c8924d2106a2a6691b56e12d4c8e1f Mon Sep 17 00:00:00 2001 From: Relintai Date: Sat, 19 Feb 2022 10:51:59 +0100 Subject: [PATCH] Added tool keyword to the dungeon teleporters, so they can be spawned in to the editor without errors. --- game/scripts/dungeons/teleporters/dung_back_teleporter.gd | 1 + game/scripts/dungeons/teleporters/dung_teleporter.gd | 1 + 2 files changed, 2 insertions(+) diff --git a/game/scripts/dungeons/teleporters/dung_back_teleporter.gd b/game/scripts/dungeons/teleporters/dung_back_teleporter.gd index e7c8d6ba..d342f919 100644 --- a/game/scripts/dungeons/teleporters/dung_back_teleporter.gd +++ b/game/scripts/dungeons/teleporters/dung_back_teleporter.gd @@ -1,3 +1,4 @@ +tool extends StaticBody export(Material) var default_material : Material = null diff --git a/game/scripts/dungeons/teleporters/dung_teleporter.gd b/game/scripts/dungeons/teleporters/dung_teleporter.gd index 7b9ea56a..738fbb8c 100644 --- a/game/scripts/dungeons/teleporters/dung_teleporter.gd +++ b/game/scripts/dungeons/teleporters/dung_teleporter.gd @@ -1,3 +1,4 @@ +tool extends StaticBody export(Material) var default_material : Material = null