Add world map view

This commit is contained in:
2024-08-18 18:11:05 +02:00
committed by Minz
parent a7fd4a2fb1
commit 762d982929
8 changed files with 847 additions and 45 deletions

View File

@@ -20,7 +20,7 @@ public class AssignableWorker : MonoBehaviour
public void AddWorker()
{
if(gameManager.GetResource(Resource.WORKER) > 0)
if(gameManager.GetResourceCount(Resource.WORKER) > 0)
{
workersAssigned++;
gameManager.RemoveResource(Resource.WORKER, 1);