Closed S0meEngineer closed 4 months ago
EntitySlot:GetTimeout()
(1<<16) * EntitySlot:GetDonationValue()
EntitySlot:SetTimeout() affects DonationValue in a similar way
EntitySlot:SetTimeout()
DonationValue
local timeout = slot:GetTimeout() % 65536
slot:SetTimeout(timeout + 65536 * slot:GetDonationValue())
Should be fixed (6c3322b5cfbd6563c1848a1ce266a37cb76827e1)
EntitySlot:GetTimeout()
returns timeout with added value of(1<<16) * EntitySlot:GetDonationValue()
EntitySlot:SetTimeout()
affectsDonationValue
in a similar waylocal timeout = slot:GetTimeout() % 65536
slot:SetTimeout(timeout + 65536 * slot:GetDonationValue())