Skip to content

Commit

Permalink
dizzy code fix mob.dm
Browse files Browse the repository at this point in the history
  • Loading branch information
GoldenDarkness55 committed Jul 25, 2023
1 parent 0304813 commit 44eb093
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions code/modules/mob/mob.dm
Original file line number Diff line number Diff line change
Expand Up @@ -610,8 +610,8 @@ note dizziness decrements automatically in the mob's Life() proc.
while(dizziness > 100)
if(client)
if(buckled || resting)
client.pixel_x = 0
client.pixel_y = 0
client.pixel_x = 0
client.pixel_y = 0
else
var/amplitude = dizziness*(sin(dizziness * 0.044 * world.time) + 1) / 70
client.pixel_x = amplitude * sin(0.008 * dizziness * world.time)
Expand Down

0 comments on commit 44eb093

Please sign in to comment.