Merge pull request #16212 from AffectedArc07/atom-rotation

Better atom rotation
This commit is contained in:
Fox McCloud
2021-07-01 22:15:58 -04:00
committed by GitHub
10 changed files with 31 additions and 24 deletions
+1 -1
View File
@@ -239,7 +239,7 @@
if((!current || loc == current))
current = locate(clamp(x + xo, 1, world.maxx), clamp(y + yo, 1, world.maxy), z)
if(isnull(Angle))
Angle = round(Get_Angle(src, current))
Angle = round(get_angle(src, current))
if(spread)
Angle += (rand() - 0.5) * spread
var/matrix/M = new