Terasology / DynamicCities

Cities that get fancy!
18 stars 14 forks source link

Change construction timer to operate on delta values #51

Closed AndyTechGuy closed 5 years ago

AndyTechGuy commented 5 years ago

Contains

A change to the settlement construction update function, to use delta values in the timer instead of a fixed timer. This has two benefits:

  1. The settlements will generate at the same rate (40 seconds per cycle & 10 seconds for the first cycle), no matter how fast the player's computer is.
  2. Fixes #50, since delta is always zero when the game is paused.