Skip to content

Commit

Permalink
Hotfix for temp leagues not working.
Browse files Browse the repository at this point in the history
  • Loading branch information
Eruyome committed Dec 3, 2016
1 parent 292371e commit 21f2397
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
4 changes: 4 additions & 0 deletions TradeUpdates.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
The following is a list of what has been updated, starting with 1.1.0

1.2.4
=================================================================================================
Hotfix for temp leagues not working.

1.2.3
=================================================================================================
Finally fixed league parsing (default between temp-leagues).
Expand Down
4 changes: 2 additions & 2 deletions trade_data/TradeMacroInit.ahk
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ ReadTradeConfig()
Sleep, 100

TradeGlobals.Set("Leagues", TradeFunc_GetLeagues())
SearchLeague := TradeOpts.SearchLeague ? TradeGlobals.Get("DefaultLeague") : TradeOpts.SearchLeague
SearchLeague := (StrLen(TradeOpts.SearchLeague) > 0) ? TradeOpts.SearchLeague : TradeGlobals.Get("DefaultLeague")
TradeGlobals.Set("LeagueName", TradeGlobals.Get("Leagues")[SearchLeague])

If (TradeOpts.AlternativeCurrencySearch) {
Expand Down Expand Up @@ -519,7 +519,7 @@ TradeFunc_CheckIfTempLeagueIsRunning() {
}
Return 0
}

UTCTimestamp := TradeFunc_GetTimestampUTC()
UTCFormatStr := "yyyy-MM-dd'T'HH:mm:ss'Z'"
FormatTime, TimeStr, %UTCTimestamp%, %UTCFormatStr%
Expand Down
2 changes: 1 addition & 1 deletion trade_data/Version.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
TradeReleaseVersion := "1.2.3"
TradeReleaseVersion := "1.2.4"
TradeAHKVersionRequired := "1.1.24.01"

0 comments on commit 21f2397

Please sign in to comment.