Fixes/tweaks for NanoUI. These were made by TG coders, so I'm just adding them here.

* Transfer open ui instances when transferring a user to another mob
* Runtime fixes in the NanoUI Topic and nanoclose client verb
* Return focus to the map when a NanoUI is opened
This commit is contained in:
Mark Aherne (Faerdan)
2014-01-03 23:58:44 +00:00
parent d9af451d66
commit a99a7c3dca
4 changed files with 27 additions and 3 deletions
+2
View File
@@ -74,6 +74,8 @@ datum/mind
current.mind = null
if(new_character.mind) //remove any mind currently in our new body's mind variable
new_character.mind.current = null
nanomanager.user_transferred(current, new_character) // transfer active NanoUI instances to new user
current = new_character //link ourself to our new body
new_character.mind = src //and link our new body to ourself