Clear texture cache on map clear
This commit is contained in:
parent
0758e24be5
commit
9d49b38bf2
|
@ -65,6 +65,8 @@ public partial class Mission : Node3D
|
|||
|
||||
public void ClearMap()
|
||||
{
|
||||
_textures.Clear();
|
||||
|
||||
foreach (var node in GetChildren())
|
||||
{
|
||||
node.QueueFree();
|
||||
|
|
Loading…
Reference in New Issue