From 01580e69367e62ffa46e3ec1fc0394a71f12ba13 Mon Sep 17 00:00:00 2001 From: CodeInDreams Date: Wed, 24 Apr 2019 11:08:56 +0800 Subject: [PATCH] Fix race switch status tooltip. --- Config.ahk | 4 ++-- source/A9.ahk | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Config.ahk b/Config.ahk index ffc1bb3..8d2d52a 100644 --- a/Config.ahk +++ b/Config.ahk @@ -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,默认开启/关闭生涯赛事 @@ -22,7 +22,7 @@ ENABLE_CAREER_RACE := false ENABLE_CUSTOM_RACE := true ; special/daily,自定义赛事类型,特殊赛事/每日赛事 CUSTOM_TYPE = special -; 自定义赛事次序 +; 自定义赛事次序,该字段暂不生效 CUSTOM_INDEX = 6 ; 自定义赛事票数消耗 CUSTOM_TICKET = 2 diff --git a/source/A9.ahk b/source/A9.ahk index 48dd0b7..d375a45 100644 --- a/source/A9.ahk +++ b/source/A9.ahk @@ -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 ? "开" : "关")) }