From f9c8935818b225b70059172a02b054bbe44a533d Mon Sep 17 00:00:00 2001 From: MarcEricMartel Date: Sun, 11 Jun 2023 17:33:21 -0400 Subject: [PATCH] woups --- player/player.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/player/player.cs b/player/player.cs index 5e5a236..a2e9338 100644 --- a/player/player.cs +++ b/player/player.cs @@ -315,10 +315,10 @@ public partial class player : Camera3D } } - public void End(string scene) + public void End(string str) { - var scene = GD.Load(scene); + var scene = GD.Load(str); var instance = scene.Instantiate(); GetNode("/root/").AddChild(instance); this.GetParent().QueueFree();