diff --git a/init.lua b/init.lua index 29bc891..9334bde 100755 --- a/init.lua +++ b/init.lua @@ -13,7 +13,7 @@ function OnPlayerSpawned( player_entity ) GameAddFlagRun( init_check_flag ) -- Load mod settings - local perks_amount = math.ceil(ModSettingGet("starting_perk.perks_spawned")) + local perks_amount = math.ceil(ModSettingGet("starting_perk.perks_spawned") - 0.5) local only_one = ModSettingGet("starting_perk.only_one") -- Print mod settings to the player