Merge pull request #13390 from neersighted/nano_subsys_tweak

Tweak NanoUI Subsystem code
This commit is contained in:
Razharas
2015-12-03 23:10:07 +03:00
2 changed files with 8 additions and 9 deletions
+1 -1
View File
@@ -103,7 +103,7 @@
for (var/ui_key in open_uis[src_object_key])
for (var/datum/nanoui/ui in open_uis[src_object_key][ui_key])
if(ui && ui.src_object && ui.user && ui.src_object.nano_host()) // Check the UI is valid.
ui.close() // Close the UI
ui.close() // Close the UI.
close_count++ // Count each UI we close.
return close_count