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);
|
||||
}
|
||||
|
||||
|
||||
|
Before Width: | Height: | Size: 161 B After Width: | Height: | Size: 161 B |
@@ -3,15 +3,15 @@
|
||||
importer="texture"
|
||||
type="CompressedTexture2D"
|
||||
uid="uid://cgd2d4fusp4pg"
|
||||
path="res://.godot/imported/icon_door.png-437da3e7d1cb55961e6afceef56e9ea2.ctex"
|
||||
path="res://.godot/imported/icon.png-f075641bee242eff6dcbc69a1dabede8.ctex"
|
||||
metadata={
|
||||
"vram_texture": false
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://addons/dungeon_floor_layout/icon_door.png"
|
||||
dest_files=["res://.godot/imported/icon_door.png-437da3e7d1cb55961e6afceef56e9ea2.ctex"]
|
||||
source_file="res://addons/dungeon_floor_layout/icon.png"
|
||||
dest_files=["res://.godot/imported/icon.png-f075641bee242eff6dcbc69a1dabede8.ctex"]
|
||||
|
||||
[params]
|
||||
|
||||
Reference in New Issue
Block a user