Properly set wave ifno
This commit is contained in:
@@ -47,7 +47,7 @@ WaveInfo getWaveInfo(const EnemyWaves *waves, i32 idx) {
|
|||||||
|
|
||||||
} else {
|
} else {
|
||||||
waveData = waves->waves[idx];
|
waveData = waves->waves[idx];
|
||||||
waveData.timeBeforeStart = waves->waves[NUM_WAVES - 1].timeBeforeStart;
|
waveData.timeBeforeStart = waves->waves[idx].timeBeforeStart;
|
||||||
}
|
}
|
||||||
|
|
||||||
WaveInfo info = {
|
WaveInfo info = {
|
||||||
|
|||||||
Reference in New Issue
Block a user