Skip to content

Commit

Permalink
Merge pull request #167 from BenjaTK/generate-on-ready-fix
Browse files Browse the repository at this point in the history
Fix generate_on_ready not working
  • Loading branch information
BenjaTK authored Aug 30, 2024
2 parents 72374a0 + 31f0a2c commit 219978d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions addons/gaea/renderers/2D/tilemap_gaea_renderer.gd
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,8 @@ enum NodeType {


func _ready() -> void:
super()

# generators are always required here, this warning serves purpose for both tilemap types
if !generator:
push_error("TilemapGaeaRenderer needs a GaeaGenerator node assigned in its exports.")
Expand Down
2 changes: 2 additions & 0 deletions addons/gaea/renderers/3D/gridmap_gaea_renderer.gd
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ extends GaeaRenderer3D


func _ready() -> void:
super()

if !generator:
push_error("GridmapGaeaRenderer needs a GaeaGenerator node assigned in its exports.")
return
Expand Down

0 comments on commit 219978d

Please sign in to comment.