[MIRROR] Size Changing Apparel Adjusments & Runtime fixes (#10053)

Co-authored-by: Cameron Lennox <killer65311@gmail.com>
Co-authored-by: Kashargul <144968721+Kashargul@users.noreply.github.com>
This commit is contained in:
CHOMPStation2StaffMirrorBot
2025-02-02 12:55:19 -07:00
committed by GitHub
parent f4b5f18698
commit b76d4d7c12
4 changed files with 29 additions and 21 deletions

View File

@@ -336,6 +336,9 @@
if(isnum(angle))
setAngle(angle)
starting = get_turf(src)
if(!starting)
qdel(src)
return
if(isnull(Angle)) //Try to resolve through offsets if there's no angle set.
if(isnull(xo) || isnull(yo))
stack_trace("WARNING: Projectile [type] deleted due to being unable to resolve a target after angle was null!")