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:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user