diff --git a/code/game/objects/structures/signs.dm b/code/game/objects/structures/signs.dm index f6368fdad5..aac38c3da7 100644 --- a/code/game/objects/structures/signs.dm +++ b/code/game/objects/structures/signs.dm @@ -1645,7 +1645,7 @@ qdel(src) /obj/structure/sign/flag/attack_hand(mob/user) - if(alert("Do you want to rip \the [src] from its place?","You think...","Yes","No") == "Yes") + if(tgui_alert(user, "Do you want to rip \the [src] from its place?","You think...",list("Yes","No")) == "Yes") if(!Adjacent(user)) //Cannot bring up dialogue and walk away return FALSE visible_message(span_warning("\The [user] rips \the [src] in a single, decisive motion!" )) diff --git a/code/modules/xenoarcheaology/tools/artifact_harvester.dm b/code/modules/xenoarcheaology/tools/artifact_harvester.dm index b185f5f5d4..1a264f85d8 100644 --- a/code/modules/xenoarcheaology/tools/artifact_harvester.dm +++ b/code/modules/xenoarcheaology/tools/artifact_harvester.dm @@ -378,7 +378,7 @@ if (href_list["drainbattery"]) if(inserted_battery) if(inserted_battery.battery_effect && inserted_battery.stored_charge > 0) - if(alert("This action will dump all charge, safety gear is recommended before proceeding","Warning","Continue","Cancel")) + if(tgui_alert(usr, "This action will dump all charge, safety gear is recommended before proceeding","Warning",list("Continue","Cancel")) == "Continue") if(!inserted_battery.battery_effect.activated) inserted_battery.battery_effect.ToggleActivate(1) last_process = world.time