diff options
author | Wuzzy <almikes@aol.com> | 2014-07-17 18:38:29 +0200 |
---|---|---|
committer | Wuzzy <almikes@aol.com> | 2014-07-17 18:38:29 +0200 |
commit | 1397ba542ff2291be754aa9f45f565e311337a58 (patch) | |
tree | 6794c91b0017d00f5cde57d2ec753f18fd88822f /init.lua | |
parent | a97ddfd942208249ce3c4df06154b1fad41f71f7 (diff) |
Remove buggy get_passed_effect_time
Diffstat (limited to 'init.lua')
-rw-r--r-- | init.lua | 10 |
1 files changed, 0 insertions, 10 deletions
@@ -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 |