mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-12 11:13:16 +00:00
Merge pull request #14610 from VOREStation/upstream-merge-8997
[MIRROR] Projectiles properly set starting var.
This commit is contained in:
committed by
CHOMPStation2
parent
ba25f3c417
commit
a4a7079374
@@ -325,7 +325,7 @@
|
|||||||
return
|
return
|
||||||
if(isnum(angle))
|
if(isnum(angle))
|
||||||
setAngle(angle)
|
setAngle(angle)
|
||||||
var/turf/starting = get_turf(src)
|
starting = get_turf(src)
|
||||||
if(isnull(Angle)) //Try to resolve through offsets if there's no angle set.
|
if(isnull(Angle)) //Try to resolve through offsets if there's no angle set.
|
||||||
if(isnull(xo) || isnull(yo))
|
if(isnull(xo) || isnull(yo))
|
||||||
stack_trace("WARNING: Projectile [type] deleted due to being unable to resolve a target after angle was null!")
|
stack_trace("WARNING: Projectile [type] deleted due to being unable to resolve a target after angle was null!")
|
||||||
|
|||||||
Reference in New Issue
Block a user