Skip to content

Commit

Permalink
Merge pull request #32 from emcifuntik/master
Browse files Browse the repository at this point in the history
Weathers fix
  • Loading branch information
emcifuntik authored Sep 15, 2023
2 parents 6f20865 + 54a5532 commit c160768
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions freeroam-extended/client/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,7 @@ alt.setWatermarkPosition(WatermarkPosition.TopCenter)
alt.loadDefaultIpls()
alt.setMsPerGameMinute(60000)

const weatherConfig = {
weathers: [1, 0, 3, 0, 4, 2, 0, 2, 5, 8, 6, 7, 8, 4, 4, 1, 1, 4, 2, 0, 3, 0, 2, 1, 4, 4, 4, 1, 1, 1, 4, 2, 4, 4, 2, 5, 8, 4, 1, 4, 4, 1, 2, 4, 2, 4, 4, 0, 1, 4, 1, 1, 4, 4, 2, 0, 1, 1, 1, 0, 2, 4, 0, 2, 2, 5, 8, 4, 1, 0, 1, 2, 4, 0, 1, 2, 4, 2, 0, 3, 4, 2, 1, 0, 4, 0, 4, 2, 4, 1, 4, 2, 5, 8, 6, 7, 8, 4, 1, 2, 2, 0, 1, 2, 2, 0, 1, 4, 2, 4, 4, 0, 3, 1, 0, 1, 0, 1, 0, 0, 1, 2, 2, 0, 3, 0, 0, 0, 1, 4, 0, 4, 1, 0, 0, 2, 5, 8, 4, 4, 2, 2, 2, 1, 2, 4, 0, 2, 0, 1, 1, 0, 3, 2, 4, 1, 1, 2, 2, 4, 4, 0, 0, 1, 1, 2, 0, 0, 4, 4, 0, 0, 0, 1, 0, 4, 1, 4, 4, 1, 4, 1, 4, 4, 2, 5, 8, 6, 7, 8, 4, 2, 0, 0, 4, 4, 1, 2, 0, 0, 4, 4, 2, 1, 1, 2, 0, 4, 4, 0, 3, 0, 1, 1, 4, 4, 0, 2, 1, 4, 2, 2, 0, 3, 1, 2, 4, 2, 2, 2, 4, 2, 1, 0, 0, 1, 4, 1, 1, 2, 2, 4, 2, 4, 1, 0, 3, 2, 4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3, 3, 2, 2, 3, 2, 4, 2, 2, 3, 4, 2, 4, 4, 2, 2, 4, 3, 4, 4, 3, 3, 4, 4, 2, 3, 2, 3, 4, 2, 4, 2, 3, 3, 4, 4, 4, 3, 4, 4, 2, 2, 2, 3, 4, 2, 2, 4, 4, 3, 4, 2, 2, 4, 4, 4, 2, 3, 3, 4, 3, 3, 3, 4, 2, 2, 4, 4, 3, 4, 4, 3, 2, 3, 3, 2, 4, 4, 3, 4, 3, 4, 2, 3, 3, 2, 2, 3, 3, 4, 3, 2, 2, 2, 3, 2, 2, 2, 4, 4] }

alt.setWeatherCycle(weatherConfig.weathers, weatherConfig.multipliers)
alt.setWeatherSyncActive(true)
Expand Down

0 comments on commit c160768

Please sign in to comment.