Skip to content

Commit

Permalink
Removes mrstonedone's workaround for humans in icon2html that causes …
Browse files Browse the repository at this point in the history
…bad icon operation.

Tested specifically by reacting epi in a human. The icon2html will just display nothing for a mob instead of crashing.
  • Loading branch information
Drulikar committed Oct 20, 2023
1 parent 8b14285 commit 4669e99
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions code/__HELPERS/icons.dm
Original file line number Diff line number Diff line change
Expand Up @@ -732,11 +732,12 @@ world
if (isnull(dir))
dir = thing.dir

if (ishuman(thing)) // Shitty workaround for a BYOND issue.
// Commented out because this is seemingly our source of bad icon operations
/* if (ishuman(thing)) // Shitty workaround for a BYOND issue.
var/icon/temp = icon2collapse
icon2collapse = icon()
icon2collapse.Insert(temp, dir = SOUTH)
dir = SOUTH
dir = SOUTH*/
else
if (isnull(dir))
dir = SOUTH
Expand Down

0 comments on commit 4669e99

Please sign in to comment.