mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-07-13 08:56:49 +01:00
Merge branch 'master' into development
# Conflicts: # maps/aurora/aurora-1_centcomm.dmm
This commit is contained in:
@@ -235,7 +235,14 @@
|
||||
update_connection_data(C)
|
||||
return
|
||||
|
||||
var/list/data_object = json_decode(data)
|
||||
var/list/data_object
|
||||
|
||||
try
|
||||
data_object = json_decode(data)
|
||||
|
||||
catch(var/exception/E)
|
||||
data_object = list()
|
||||
log_debug("CONN DATA: [E] encountered when loading data for [C.ckey].")
|
||||
|
||||
if (!data_object || !data_object.len)
|
||||
log_debug("CONN DATA: [C.ckey] has no connection data to showcase.")
|
||||
|
||||
@@ -1046,7 +1046,7 @@ var/list/admin_verbs_cciaa = list(
|
||||
|
||||
var/mob/living/silicon/ai/target = input("Choose the AI to force-wipe:", "AI Termination") as null|anything in ai_list
|
||||
|
||||
if (alert("Are you sure you want to wipe [target.name]? They will be ghosted and their job slot freed.", "Confirm AI Termination", "No", "No", "Yes") != "Yes")
|
||||
if (!target || alert("Are you sure you want to wipe [target.name]? They will be ghosted and their job slot freed.", "Confirm AI Termination", "No", "No", "Yes") != "Yes")
|
||||
return
|
||||
|
||||
log_and_message_admins("admin-wiped [key_name_admin(target)]'s core.")
|
||||
|
||||
Reference in New Issue
Block a user