NanoUI sources can now be datums instead of atom/movable.

Also accidentally fixes #7042 as the AI no longer cares about the machinery var.
This commit is contained in:
PsiOmegaDelta
2015-06-08 17:00:11 +02:00
parent 8d92b6cbe6
commit 20542bf84b
21 changed files with 89 additions and 95 deletions

View File

@@ -735,7 +735,7 @@ var/list/admin_verbs_mentor = list(
var/mob/living/silicon/S = input("Select silicon.", "Manage Silicon Laws") as null|anything in silicon_mob_list
if(!S) return
var/obj/nano_module/law_manager/L = new(S)
var/datum/nano_module/law_manager/L = new(S)
L.ui_interact(usr, state = admin_state)
admin_log_and_message_admins("has opened [S]'s law manager.")
feedback_add_details("admin_verb","MSL") //If you are copy-pasting this, ensure the 2nd parameter is unique to the new proc!