Fix: #186
This commit is contained in:
@@ -129,6 +129,10 @@ function ISBaseTimedAction:perform()
|
|||||||
|
|
||||||
local amputatedLimbs = CachedDataHandler.GetAmputatedLimbs(LocalPlayerController.username)
|
local amputatedLimbs = CachedDataHandler.GetAmputatedLimbs(LocalPlayerController.username)
|
||||||
local xp = self.maxTime / 100
|
local xp = self.maxTime / 100
|
||||||
|
|
||||||
|
-- Prevent xp from being negative and decreasing perks
|
||||||
|
if xp < 0 then xp = 0 end
|
||||||
|
|
||||||
for k, _ in pairs(amputatedLimbs) do
|
for k, _ in pairs(amputatedLimbs) do
|
||||||
local limbName = k
|
local limbName = k
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user