spawning chests in csg boxes, working on making them root of scene so they aren't cleared with the scene on exit

This commit is contained in:
derek
2025-04-04 16:30:51 -05:00
parent 6cd06193b5
commit ce08df66e6
15 changed files with 99 additions and 76 deletions

View File

@@ -66,3 +66,8 @@ func checksum(check_data):
checksum_final = hash(checksum_final)
return checksum_final
func clear_spawned_objects():
#clear spawned objects
for node in get_tree().get_nodes_in_group("spawned"):
node.queue_free()