Skip to content

Commit

Permalink
using revival block to prevent deprecation warning
Browse files Browse the repository at this point in the history
  • Loading branch information
mexikoedi committed Jun 18, 2024
1 parent afdfd91 commit cd9b08d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lua/ttt2/libraries/admin.lua
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ function admin.PlayerRespawn(ply, pos)
return
end

ply:Revive(0, nil, nil, false, false, nil, pos)
ply:Revive(0, nil, nil, false, REVIVAL_BLOCK_NONE, nil, pos)
end
end

Expand Down

0 comments on commit cd9b08d

Please sign in to comment.