Fix for getFlatIcon runtimes. I think when I changed DamageIcons from a list to a single image, I may have caused it. Basically, null was getting put in the overlays var at round start.

Fix for  view-vars refreshing.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@3721 316c924e-a436-60f5-8080-3fe189b3f50e
This commit is contained in:
elly1989@rocketmail.com
2012-06-02 02:08:42 +00:00
parent 25d9d302c3
commit 5ff9a92a26
2 changed files with 6 additions and 10 deletions
+2 -4
View File
@@ -757,16 +757,14 @@ client
message_admins("\blue [key_name(usr)] dealt [amount] amount of [Text] damage to [M] ", 1)
href_list["datumrefresh"] = href_list["mobToDamage"]
else
return 0
. = 0
if (href_list["datumrefresh"])
if(!href_list["datumrefresh"])
return
var/datum/DAT = locate(href_list["datumrefresh"])
if(!DAT)
return
if(!istype(DAT,/datum))
return
src.debug_variables(DAT)
. = 1
return