From 33f6dcd12bd13866efe3ad4434eb76a57c50b1f1 Mon Sep 17 00:00:00 2001 From: TerminalHash Date: Tue, 29 Oct 2024 22:21:11 +0300 Subject: [PATCH] enable only airdrop timer panel by default --- Modules/BindingsModule/BindingsSystem.as | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/Modules/BindingsModule/BindingsSystem.as b/Modules/BindingsModule/BindingsSystem.as index b9392e96..395681b9 100644 --- a/Modules/BindingsModule/BindingsSystem.as +++ b/Modules/BindingsModule/BindingsSystem.as @@ -305,6 +305,16 @@ void onInit(CRules@ this) { sfile.add_string("custom_death_and_pain_sounds", "on"); } + + if (!sfile.exists("class_panels")) + { + sfile.add_string("class_panels", "off"); + } + + if (!sfile.exists("airdrop_panel")) + { + sfile.add_string("airdrop_panel", "on"); + } } else // default settings { @@ -323,6 +333,8 @@ void onInit(CRules@ this) sfile.add_string("annoying_voicelines", "on"); sfile.add_string("annoying_tags", "on"); sfile.add_string("custom_death_and_pain_sounds", "on"); + sfile.add_string("class_panels", "off"); + sfile.add_string("airdrop_panel", "on"); printf("Creating local visual and sound settings file with default values for Gruhsha."); }