Do not fatal cause of missing spr/dat anymore.

This commit is contained in:
Henrique Santiago
2012-08-09 19:54:03 -03:00
parent 10c564f90e
commit e27423660c
4 changed files with 24 additions and 13 deletions

View File

@@ -45,6 +45,9 @@ end
function UIItem:onDestroy()
if self == g_ui.getDraggingWidget() and self.hoveredWho then
self.hoveredWho:setBorderWidth(0)
end
if self.hoveredWho then
self.hoveredWho = nil
end
end