Properly log smoothing errors (#18777)

* errors!

* Update code/__HELPERS/icon_smoothing.dm

Co-authored-by: AffectedArc07 <25063394+AffectedArc07@users.noreply.github.com>

* Update code/__HELPERS/icon_smoothing.dm

Co-authored-by: AffectedArc07 <25063394+AffectedArc07@users.noreply.github.com>

Co-authored-by: AffectedArc07 <25063394+AffectedArc07@users.noreply.github.com>
This commit is contained in:
S34N
2022-08-11 16:54:52 +01:00
committed by GitHub
parent dea37b11ce
commit 6898debaa6
+1 -1
View File
@@ -153,7 +153,7 @@ DEFINE_BITFIELD(smoothing_junction, list(
/atom/proc/smooth_icon()
smoothing_flags &= ~SMOOTH_QUEUED
if(!z) //nullspace are not sending their best
error("[type] called smooth_icon() without being on a z-level")
stack_trace("[type] called smooth_icon() without being on a z-level")
return
if(smoothing_flags & SMOOTH_CORNERS)
if(smoothing_flags & SMOOTH_DIAGONAL_CORNERS)