AutotileLib

by Ter13
Fast, simple, abstract 47-state autojoining library
ID:2309001
 
Resolved
If you have a specific autotile_icon, I'm assuming you will want a to be able to see a different graphic in the map editor for the autotile, so i wrote a piece of code that resets the icon_state of the autotile to null if autotile_icon doesn't match the current icon.

Unfortunately, I wasn't checking wether the icon_state was not properly, causing chaos.

This is fixed now.
BYOND Version:512.1392
Operating System:Windows 7 Ultimate 64-bit
Web Browser:Chrome 61.0.3163.100
Applies to:AutotileLib 1.0e
Status: Resolved (1.0e)

This issue has been resolved.
Descriptive Problem Summary:

BYOND doesn't handle null values gracefully.
Ter13 resolved issue with message:
If you have a specific autotile_icon, I'm assuming you will want a to be able to see a different graphic in the map editor for the autotile, so i wrote a piece of code that resets the icon_state of the autotile to null if autotile_icon doesn't match the current icon.

Unfortunately, I wasn't checking wether the icon_state was non-null properly, causing chaos.

This is fixed now.