Fixed issue with links/buttons not working until first update.

This commit is contained in:
Mark Aherne (Faerdan)
2013-08-28 22:20:13 +01:00
parent ccaa451313
commit 9cb0b79d78
2 changed files with 46 additions and 46 deletions
+1 -3
View File
@@ -185,13 +185,11 @@
/datum/nanoui/Topic(href, href_list)
update_status(0) // update the status
if (status != STATUS_INTERACTIVE || user != usr) // If UI is not interactive or usr calling Topic is not the UI user
//usr << "Not interaction or wrong usr"
return
if (src_object.Topic(href, href_list))
usr << "Update after Topic"
nanomanager.update_uis(src_object) // update all UIs attached to src_object
else
usr << "Don't update after Topic"
/datum/nanoui/proc/get_footer()
var/scriptsContent = ""