StarSystem
Stars With switching positions (Bought stars are not saved or shown)
This commit is contained in:
@@ -39,7 +39,7 @@ public class Star : MonoBehaviour
|
||||
|
||||
public void Buy(Player player)
|
||||
{
|
||||
player.coins -= cost;
|
||||
player.AddCoins(-cost);
|
||||
starController.SwitchStar();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user