mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-08-22 03:27:46 +01:00
recoil fix (#19514)
This commit is contained in:
@@ -606,6 +606,8 @@
|
||||
to_chat(user, span_warning("You struggle to hold \the [src] steady!"))
|
||||
|
||||
if(recoil)
|
||||
if(recoil > 5)
|
||||
recoil = 5 //Prevents crashing user client.
|
||||
shake_camera(user, recoil+1, recoil)
|
||||
update_icon()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user