mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-25 22:19:30 +01:00
Fixes the screen shaking from having your camera get stuck on a turf.
This commit is contained in:
@@ -264,9 +264,9 @@ It's fairly easy to fix if dealing with single letters but not so much with comp
|
||||
|
||||
|
||||
/proc/shake_camera(mob/M, duration, strength=1)
|
||||
if(!M || !M.client || M.shakecamera)
|
||||
return
|
||||
spawn(1)
|
||||
spawn(0)
|
||||
if(!M || !M.client || M.shakecamera)
|
||||
return
|
||||
var/oldeye=M.client.eye
|
||||
var/x
|
||||
M.shakecamera = 1
|
||||
|
||||
Reference in New Issue
Block a user