This commit is contained in:
Image 2021-02-07 22:30:14 -05:00
parent a9708111ba
commit 43c6075aaa

View file

@ -6,7 +6,7 @@
function spawn(NPC)
local DebtToRemovePct = GetRuleFlagFloat("R_Combat", "ShardDebtRecoveryPercent")
if GetRuleFlagFloat("R_Combat", "ShardRecoveryByRadius") == true then
if GetRuleFlagBool("R_Combat", "ShardRecoveryByRadius") == true then
SetPlayerProximityFunction(NPC, 10.0, "recovershard")
end