recoil fix (#19514)

This commit is contained in:
Cameron Lennox
2026-06-07 01:20:46 -04:00
committed by GitHub
parent 9eb34a2543
commit 774e502814
3 changed files with 4 additions and 1 deletions
+2
View File
@@ -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()