Skip to content

fix(time/weather): fix freeze logic and dynamic weather countdown logic#91

Open
aysihuniks wants to merge 2 commits into
qbcore-framework:mainfrom
aysihuniks:main
Open

fix(time/weather): fix freeze logic and dynamic weather countdown logic#91
aysihuniks wants to merge 2 commits into
qbcore-framework:mainfrom
aysihuniks:main

Conversation

@aysihuniks

Copy link
Copy Markdown

Describe Pull request
Fixed a critical math logic bug in client.lua (tick - 22 > tick) that was breaking time synchronization across players. Also fixed a thread loop interval issue in server.lua where the weather countdown was ticking down way slower than the configured Config.NewWeatherTimer.

If your PR is to fix an issue mention that issue here
These changes fix the issues where /time and /weather admin commands wouldn't update or sync properly.

Questions (please complete the following information):

  • Have you personally loaded this code into an updated qbcore project and checked all it's functionality? [yes] (Be honest)
  • Does your code fit the style guidelines? [yes]
  • Does your PR fit the contribution guidelines? [yes]

@qbcore-framework qbcore-framework deleted a comment from ninjaskyco Jun 25, 2026
@qbcore-framework qbcore-framework deleted a comment from ninjaskyco Jun 25, 2026
@qbcore-framework qbcore-framework deleted a comment from ninjaskyco Jun 25, 2026
@qbcore-framework qbcore-framework deleted a comment from ninjaskyco Jun 25, 2026
@qbcore-framework qbcore-framework deleted a comment from ninjaskyco Jun 25, 2026
@qbcore-framework qbcore-framework deleted a comment from aysihuniks Jun 25, 2026
@qbcore-framework qbcore-framework deleted a comment from aysihuniks Jun 25, 2026
@qbcore-framework qbcore-framework deleted a comment from aysihuniks Jun 25, 2026
@Qwerty1Verified

Copy link
Copy Markdown
Member

These comments are off-topic and inappropriate for this repository.

This serves as a formal warning. No further comments are required on this pull request. Any further inappropriate or disruptive behaviour may result in more comments being removed and additional moderation action.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants