From f8597d1e82b4bfe5040fdd038e7dde7ab27ff93e Mon Sep 17 00:00:00 2001 From: Gerkiz Date: Sat, 12 Aug 2023 10:12:45 +0200 Subject: [PATCH] Type fix --- modules/rpg/table.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/rpg/table.lua b/modules/rpg/table.lua index d2cb2842..15ce85ef 100644 --- a/modules/rpg/table.lua +++ b/modules/rpg/table.lua @@ -389,7 +389,7 @@ end --- Enables/disabled personal tax. ---@param value number function Public.personal_tax_rate(value) - this.rpg_extra.personal_tax_rate = value or false + this.rpg_extra.personal_tax_rate = value or 0 return this.rpg_extra.personal_tax_rate end