Skip to content
This repository has been archived by the owner on Mar 18, 2020. It is now read-only.

Commit

Permalink
Fix race switch status tooltip.
Browse files Browse the repository at this point in the history
  • Loading branch information
CodeInDreams committed Apr 24, 2019
1 parent 0b9b496 commit 01580e6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions Config.ahk
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ CAREER_CARS := [5, 6, 4, 7, 10, 12, 13]
; 脚本在哪些时间范围运行,多个时间段用英文逗号分隔,如 00:00-08:00, 09:00-12:15, 13:55-18:30,注意小于10的加0
RUN_TIME_SCOPE = 00:00-23:59
; true/false,默认开启/关闭每日赛事
ENABLE_DAILY_RACE := true
ENABLE_DAILY_RACE := false
; true/false,默认开启/关闭多人赛事
ENABLE_MULTI_PLAYER_RACE := true
; true/false,默认开启/关闭生涯赛事
Expand All @@ -22,7 +22,7 @@ ENABLE_CAREER_RACE := false
ENABLE_CUSTOM_RACE := true
; special/daily,自定义赛事类型,特殊赛事/每日赛事
CUSTOM_TYPE = special
; 自定义赛事次序
; 自定义赛事次序,该字段暂不生效
CUSTOM_INDEX = 6
; 自定义赛事票数消耗
CUSTOM_TICKET = 2
Expand Down
2 changes: 1 addition & 1 deletion source/A9.ahk
Original file line number Diff line number Diff line change
Expand Up @@ -861,7 +861,7 @@ Init() ; 脚本主逻辑

ShowRaceSwitchStatus() ; 气泡显示赛事开启/关闭状态
{
global ENABLE_DAILY_RACE, ENABLE_MULTI_PLAYER_RACE, ENABLE_CAREER_RACE
global ENABLE_DAILY_RACE, ENABLE_MULTI_PLAYER_RACE, ENABLE_CAREER_RACE, ENABLE_CUSTOM_RACE
ShowToolTip("每日:" . (ENABLE_DAILY_RACE ? "" : ""), "多人:" . (ENABLE_MULTI_PLAYER_RACE ? "" : ""), "生涯:" . (ENABLE_CAREER_RACE ? "" : ""), "自定:" . (ENABLE_CUSTOM_RACE ? "" : ""))
}

Expand Down

0 comments on commit 01580e6

Please sign in to comment.