Jelajahi Sumber

initialize refocus_over_tile to false

Co-authored-by: Tomek <[email protected]>
Michael Auderer 5 tahun lalu
induk
melakukan
6d510453e5
1 mengubah file dengan 1 tambahan dan 1 penghapusan
  1. 1 1
      editor/plugins/tile_map_editor_plugin.h

+ 1 - 1
editor/plugins/tile_map_editor_plugin.h

@@ -119,7 +119,7 @@ class TileMapEditor : public VBoxContainer {
 	Rect2i rectangle;
 
 	Point2i over_tile;
-	bool refocus_over_tile;
+	bool refocus_over_tile = false;
 
 	bool *bucket_cache_visited;
 	Rect2i bucket_cache_rect;