diff --git a/src/UI/Canvas/TileMode.gd b/src/UI/Canvas/TileMode.gd index 641fde9b6..cca70fa61 100644 --- a/src/UI/Canvas/TileMode.gd +++ b/src/UI/Canvas/TileMode.gd @@ -3,7 +3,7 @@ extends Node2D var tiles: Tiles var draw_center := false -@onready var canvas := get_parent() as Canvas +@onready var canvas := Global.canvas func _draw() -> void: