outfrost / ld49

Coffee Crisis - a Ludum Dare 49 game
https://ldjam.com/events/ludum-dare/49/coffee-crisis
0 stars 0 forks source link

Customers should stop being generated once the game is over #56

Closed Kiskadee-dev closed 3 years ago

Kiskadee-dev commented 3 years ago

Currently the customers will arrive based on a time gradient, increasing the limit by 1 each time the defined timer runs out, once the customer numbers reach the maximum, the timer will decrease the customer limit numbers until 0 is reached

Currently it happens that this timer customer logic will end almost exactly when the game is over, but if the balance changes, it'll be weird.

should spawn customers only when the game is running, hooks are already in place

Kiskadee-dev commented 3 years ago

92829cac31adb3c823896d8fc213a922cde0fbf6