Actual fix
This commit is contained in:
@@ -88,6 +88,7 @@ public partial class Character : CharacterBody3D
|
||||
|
||||
public void OnHit(Node3D node)
|
||||
{
|
||||
GD.Print($"Hit by {node.Name}");
|
||||
if (this != null)
|
||||
_gameManager.CallDeferred(GameManager.MethodName.RemoveCharacter, OwnerPlayer);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user