From 5e9d299a22bbf4bbcc09a279d591378b0b97ee19 Mon Sep 17 00:00:00 2001 From: tontyGH <39193182+tontyGH@users.noreply.github.com> Date: Sat, 20 Jun 2026 21:17:49 -0400 Subject: [PATCH 1/2] the two line change --- DMCompiler/DMStandard/Types/Atoms/_Atom.dm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/DMCompiler/DMStandard/Types/Atoms/_Atom.dm b/DMCompiler/DMStandard/Types/Atoms/_Atom.dm index ca0ee2c72e..13ea3d3cb3 100644 --- a/DMCompiler/DMStandard/Types/Atoms/_Atom.dm +++ b/DMCompiler/DMStandard/Types/Atoms/_Atom.dm @@ -27,8 +27,8 @@ var/icon_w = 0 as opendream_unimplemented var/icon_z = 0 as opendream_unimplemented - var/icon = null - var/icon_state = "" + var/icon as icon|null + var/icon_state as text|null var/layer = 2.0 var/plane = 0 var/alpha = 255 From dd3118c583c6d4b07d5649270aa7e79bc243adad Mon Sep 17 00:00:00 2001 From: tontyGH <39193182+tontyGH@users.noreply.github.com> Date: Sat, 20 Jun 2026 21:34:01 -0400 Subject: [PATCH 2/2] let's just set their initial value to null just in case --- DMCompiler/DMStandard/Types/Atoms/_Atom.dm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/DMCompiler/DMStandard/Types/Atoms/_Atom.dm b/DMCompiler/DMStandard/Types/Atoms/_Atom.dm index 13ea3d3cb3..f058904b9d 100644 --- a/DMCompiler/DMStandard/Types/Atoms/_Atom.dm +++ b/DMCompiler/DMStandard/Types/Atoms/_Atom.dm @@ -27,8 +27,8 @@ var/icon_w = 0 as opendream_unimplemented var/icon_z = 0 as opendream_unimplemented - var/icon as icon|null - var/icon_state as text|null + var/icon = null as icon|null + var/icon_state = null as text|null var/layer = 2.0 var/plane = 0 var/alpha = 255