Fixed look direction randomization.

master
Robert Zenz 2015-09-13 14:53:12 +02:00
parent 0d12dfc386
commit 9122aa1abd
1 changed files with 1 additions and 1 deletions

View File

@ -189,7 +189,7 @@ function spawnusher.move_player(player)
player:setpos(pos)
-- Randomize the direction in which the player looks.
player:set_look_yaw(spawnusher.random:next(0, math.rad(360)))
player:set_look_yaw(math.rad(spawnusher.random:next(0, 360)))
-- Reset the physics override.
player:set_physics_override(spawnusher.player_physics[player:get_player_name()])