Skip to content

Commit

Permalink
enable only airdrop timer panel by default
Browse files Browse the repository at this point in the history
  • Loading branch information
TerminalHash committed Oct 29, 2024
1 parent cd1009e commit 33f6dcd
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions Modules/BindingsModule/BindingsSystem.as
Original file line number Diff line number Diff line change
Expand Up @@ -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
{
Expand All @@ -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.");
}
Expand Down

0 comments on commit 33f6dcd

Please sign in to comment.