fix player monoid bug (thanks Bastrabun)

This commit is contained in:
tenplus1 2022-01-21 08:41:39 +00:00
parent 7971f5ce44
commit 5fd2b2e5c9

View File

@ -181,7 +181,7 @@ local function set_sprinting(name, sprinting)
if monoids then
player_monoids.speed:del_change(player, stamina.players[name].speed)
player_monoids.speed:del_change(player, stamina.players[name].sprint)
player_monoids.jump:del_change(player, stamina.players[name].jump)
stamina.players[name].sprint = nil