[Fix] I'm a retard!! I wasn't initialising ticks.. Spawning now works. Ima go sleep now.
This commit is contained in:
parent
6b1228a4af
commit
ef437c9b98
@ -189,6 +189,8 @@ void space_update(const double dt) {
|
|||||||
|
|
||||||
(void)dt; // Don't need it right now.
|
(void)dt; // Don't need it right now.
|
||||||
|
|
||||||
|
t = SDL_GetTicks();
|
||||||
|
|
||||||
if(cur_system->nfleets == 0)
|
if(cur_system->nfleets == 0)
|
||||||
// Please stop checking that there are no fleets.
|
// Please stop checking that there are no fleets.
|
||||||
spawn_timer = t + 300000;
|
spawn_timer = t + 300000;
|
||||||
|
Loading…
Reference in New Issue
Block a user