Added cash counter

This commit is contained in:
2026-03-30 13:44:46 +01:00
parent 59b64a680f
commit 652df5ce01
8 changed files with 1016 additions and 11 deletions

View File

@@ -1,6 +1,5 @@
using PashaBibko.Pacore.Attributes;
using System.Collections.Generic;
using JetBrains.Annotations;
using UnityEngine;
namespace Fruitomation
@@ -24,7 +23,7 @@ namespace Fruitomation
private void Update()
{
if (ActiveFruits.Count <= MaxSpawned)
if (ActiveFruits.Count <= MaxSpawned && GameStateController.Is(GameState.Simulation))
{
TimeUntilNextSpawn -= Time.deltaTime;