fix addTime function

This commit is contained in:
dart 2022-04-03 15:11:06 +03:00
parent fa6e9241ac
commit 21b2a2c74c

View File

@ -150,7 +150,7 @@ IEnumerator spawnMobsCourutine()
public void DeathGoToPull(GameObject mob, float addedTime)
{
gamePlay.AddTime(addedTime);
gamePlay.SendMessage("AddTime", addedTime);
mob.SetActive(false);
mob.transform.parent = mobPull.transform;
}