Replace deprecated call to add_player_velocity in builtin (#10968)

This commit is contained in:
Elias Fleckenstein 2021-02-18 15:39:04 +01:00 committed by Nils Dagsson Moskopp
parent 1a831ac384
commit a2a808e3b4
Signed by: erlehmann
GPG Key ID: A3BC671C35191080
1 changed files with 1 additions and 1 deletions

View File

@ -42,5 +42,5 @@ core.register_on_punchplayer(function(player, hitter, time_from_last_punch, tool
return -- barely noticeable, so don't even send
end
player:add_player_velocity(kdir)
player:add_velocity(kdir)
end)