Skip to content
Permalink
Browse files

fix reset timers

  • Loading branch information...
Manuel-777 committed Mar 2, 2019
1 parent fe8b00f commit 780366c22d73a6bb9be491366dccf200a6b648a0
Showing with 4 additions and 1 deletion.
  1. +4 −1 window_background/labels.js
@@ -1006,6 +1006,9 @@ function onLabelInEventGetSeasonAndRankDetail(entry, json) {

function onLabelGetPlayerInventoryGetRewardSchedule(entry, json) {
if (!json) return;


if (!json.dailyReset.endsWith("Z")) json.dailyReset = json.dailyReset+"Z";
if (!json.weeklyReset.endsWith("Z")) json.weeklyReset = json.weeklyReset+"Z";

ipc_send("set_reward_resets", {daily: json.dailyReset, weekly: json.weeklyReset});
}

0 comments on commit 780366c

Please sign in to comment.
You can’t perform that action at this time.