Skip to content

Commit

Permalink
feat(skymp5-client): adjust default game hours offset (#2192)
Browse files Browse the repository at this point in the history
  • Loading branch information
Ansgar-skymp authored Oct 24, 2024
1 parent 66f12c6 commit dbca6f9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion skymp5-client/src/services/services/timeService.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ export class TimeService extends ClientListener {

public getTime() {
const hoursOffsetSetting = this.sp.settings["skymp5-client"]["hoursOffset"];
const hoursOffset = typeof hoursOffsetSetting === "number" ? hoursOffsetSetting : -3;
const hoursOffset = typeof hoursOffsetSetting === "number" ? hoursOffsetSetting : 0;
const hoursOffsetMs = hoursOffset * 60 * 60 * 1000;

const d = new Date(Date.now() + hoursOffsetMs);
Expand Down

0 comments on commit dbca6f9

Please sign in to comment.