From 25a416bda7efeb11c6a77c54950de393717fe1b5 Mon Sep 17 00:00:00 2001 From: Ryan McNeilly Date: Sat, 9 Sep 2023 01:50:01 +1000 Subject: [PATCH] Added values to end time --- .../main/com/csse3200/game/components/tasks/CurrencyTask.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/core/src/main/com/csse3200/game/components/tasks/CurrencyTask.java b/source/core/src/main/com/csse3200/game/components/tasks/CurrencyTask.java index bfb372c8f..8e4b7581a 100644 --- a/source/core/src/main/com/csse3200/game/components/tasks/CurrencyTask.java +++ b/source/core/src/main/com/csse3200/game/components/tasks/CurrencyTask.java @@ -40,7 +40,7 @@ public CurrencyTask(int priority, int interval) { @Override public void start() { super.start(); - endTime = timeSource.getTime(); + endTime = timeSource.getTime() + (30 * 1000); owner.getEntity().getEvents().trigger(IDLE); }