mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-04-27 12:31:54 +00:00
Spawn an item right at 0:00.00, instead of at 0:04.00
This commit is contained in:
parent
f8e52ae6a0
commit
63c84567c5
1 changed files with 2 additions and 2 deletions
|
|
@ -282,7 +282,7 @@ void K_RunPaperItemSpawners(void)
|
||||||
const boolean overtime = (battleovertime.enabled >= 10*TICRATE);
|
const boolean overtime = (battleovertime.enabled >= 10*TICRATE);
|
||||||
tic_t interval = 8*TICRATE;
|
tic_t interval = 8*TICRATE;
|
||||||
|
|
||||||
if (leveltime <= starttime)
|
if (leveltime < starttime)
|
||||||
{
|
{
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
@ -297,7 +297,7 @@ void K_RunPaperItemSpawners(void)
|
||||||
interval /= 2;
|
interval /= 2;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (((leveltime - starttime - (interval / 2)) % interval) != 0)
|
if (((leveltime - starttime) % interval) != 0)
|
||||||
{
|
{
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue