From 8492a7a8cd87d46f5ac79e368043763e3eeb13e4 Mon Sep 17 00:00:00 2001 From: Tivi <57223640+TiviPlus@users.noreply.github.com> Date: Tue, 24 Aug 2021 23:10:04 +0200 Subject: [PATCH] Implement IconStates through icon_states --- DMCompiler/DMStandard/Types/Icon.dm | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/DMCompiler/DMStandard/Types/Icon.dm b/DMCompiler/DMStandard/Types/Icon.dm index a07b71da03..164dcdc92c 100644 --- a/DMCompiler/DMStandard/Types/Icon.dm +++ b/DMCompiler/DMStandard/Types/Icon.dm @@ -28,8 +28,7 @@ CRASH("/icon.Height() is not implemented") proc/IconStates(mode = 0) - set opendream_unimplemented = TRUE - CRASH("/icon.IconStates() is not implemented") + return icon_states(src, mode) proc/Insert(new_icon, icon_state, dir, frame, moving, delay) set opendream_unimplemented = TRUE