mirror of
https://github.com/Relintai/props.git
synced 2025-02-04 16:05:54 +01:00
Don't build if not in tree.
This commit is contained in:
parent
681cdb21c6
commit
19b182dd71
@ -495,6 +495,11 @@ void PropInstanceMerger::_build() {
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (!is_inside_tree() || !get_world().is_valid()) {
|
||||||
|
queue_build();
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
set_building(true);
|
set_building(true);
|
||||||
_build_queued = false;
|
_build_queued = false;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user