Shiptest icon indicating copy to clipboard operation
Shiptest copied to clipboard

[BUG] `recoil_deviation` is double what should be expected

Open FalloutFalcon opened this issue 1 month ago • 0 comments

Recoil deviation as described is meant to be the max angle.

	///this is how much deviation the gun recoil can have, recoil pushes the screen towards the reverse angle you shot + some deviation which this is the max.
	var/recoil_deviation = 22.5

however its used twice, so the max angle is acctually double what you would expect

https://github.com/shiptest-ss13/Shiptest/blob/77a095d5cb393d65105e4d6f22e2b2565e65c9bd/code/modules/projectiles/gun.dm#L690 https://github.com/shiptest-ss13/Shiptest/blob/77a095d5cb393d65105e4d6f22e2b2565e65c9bd/code/modules/projectiles/gun.dm#L908

FalloutFalcon avatar Nov 12 '25 21:11 FalloutFalcon