This commit is contained in:
Mr. Stallion 2022-09-03 11:49:47 -07:00
parent 6da3d59585
commit fc8358724b
1 changed files with 1 additions and 1 deletions

View File

@ -169,7 +169,7 @@ export class AdManager {
const initialWait = Math.max(
Math.random() * AdManager.START_VARIANCE,
(chanConv.nextAd - Date.now()) * 1.1,
(this.conversation.settings.adSettings.lastAdTimestamp || 0) + (core.connection.vars.lfrp_flood * 1000)
((this.conversation.settings.adSettings.lastAdTimestamp || 0) + (core.connection.vars.lfrp_flood * 1000)) - Date.now()
);
this.adIndex = 0;