Skip to content

Commit

Permalink
🐛 Plugin fix after anniversary update breaking changes (#1)
Browse files Browse the repository at this point in the history
  • Loading branch information
dsperac authored Dec 22, 2023
1 parent 881a65e commit 7c9a30e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/info.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
name = "Auto-Hide Records"
author = "Dr Damage"
category = "Overlay"
version = "1.1.0"
version = "1.2.0"

[script]
dependencies = [ "VehicleState" ]
2 changes: 1 addition & 1 deletion src/main.as
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ bool ShouldRunPlugin() {
AutoHideRecords // plugin has to be enabled
&& gameInfo.IsPlaying() // should be on a map
&& !IsHudPickerRecordsHidden() // don't do anything if the records element is hidden via HUD Picker
&& gameInfo.LoadProgress.State != NGameLoadProgress_SMgr::EState::Displayed // wait until playground finishes loading
&& gameInfo.LoadProgress.State != NGameLoadProgress::EState::Displayed // wait until playground finishes loading
) || (
// handle case when element hidden and plugin gets turned off
!recordHud.GetVisible() && !AutoHideRecords
Expand Down

0 comments on commit 7c9a30e

Please sign in to comment.