????
This commit is contained in:
@@ -18,9 +18,9 @@ public partial class AreaExit : Node3D
|
||||
{
|
||||
if (node is Character)
|
||||
{
|
||||
if (node.GetType() == typeof(Character1))
|
||||
if (node.GetType() == typeof(Character1) || node.GetType() == typeof(Capricorn))
|
||||
_gameManager.RemoveCharacterAndAddToExit((Character1)node);
|
||||
if (node.GetType() == typeof(Character2))
|
||||
if (node.GetType() == typeof(Character2) || node.GetType() == typeof(Capricorn2))
|
||||
_gameManager.RemoveCharacterAndAddToExit((Character2)node);
|
||||
|
||||
GD.Print("Exit reached");
|
||||
|
||||
Reference in New Issue
Block a user