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