Small adjustment to map loading stuff
This commit is contained in:
@@ -9,7 +9,7 @@ public partial class DungeonFloorLayoutNode : EditorPlugin
|
||||
{
|
||||
// Initialization of the plugin goes here.
|
||||
var script = GD.Load<Script>("res://addons/dungeon_floor_layout/DungeonFloorLayout.cs");
|
||||
var texture = GD.Load<Texture2D>("res://addons/dungeon_floor_layout/icon_door.png");
|
||||
var texture = GD.Load<Texture2D>("res://addons/dungeon_floor_layout/icon.png");
|
||||
AddCustomType(nameof(DungeonFloorLayout), nameof(LayoutType), script, texture);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user