Skip to content

Commit

Permalink
fix pf player tps
Browse files Browse the repository at this point in the history
  • Loading branch information
Jiskster committed Nov 18, 2023
1 parent 37c68e8 commit 786df38
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Lua/pizzaface.lua
Original file line number Diff line number Diff line change
Expand Up @@ -313,7 +313,7 @@ addHook("PlayerThink", function(player)
if player.pizzacharge < TICRATE then
player.pizzacharge = $ + 1
else
PTSR:RNGPizzaTP(player, true) -- Tp to random active player
PTSR:RNGPizzaTP(player.mo, true) -- Tp to random active player
end
elseif player.pizzacharge > 0 then
player.pizzacharge = $ - 1
Expand Down

0 comments on commit 786df38

Please sign in to comment.