Fix wrong POVA usage

This commit is contained in:
Till Affeldt 2020-05-16 05:28:31 +02:00
parent c35cacc08f
commit de512c172c

View File

@ -38,13 +38,13 @@ elseif mod_pova then
local override = {}
override[effect] = (value * default) - default
pova.add_override(playername, id, override)
pova.do_override(playername)
pova.do_override(player)
end
function physics.remove(id, player, effect)
local playername = player:get_player_name()
pova.del_override(playername, id)
pova.do_override(playername)
pova.do_override(player)
end
-- fallback to vanilla override as last resort