Remove buggy get_passed_effect_time

This commit is contained in:
Wuzzy
2014-07-17 18:38:29 +02:00
parent a97ddfd942
commit 1397ba542f
2 changed files with 0 additions and 19 deletions

View File

@ -209,16 +209,6 @@ function playereffects.get_remaining_effect_time(effect_id)
end
end
function playereffects.get_passed_effect_time(effect_id)
local now = os.time()
local effect = playereffects.effects[effect_id]
if(effect ~= nil) then
return os.difftime(now, effect.start_time)
else
return nil
end
end
function playereffects.cancel_effect(effect_id)
local effect = playereffects.effects[effect_id]
if(effect ~= nil) then