From fbcffd770b1058fffeb7b659176bec90b23edc1b Mon Sep 17 00:00:00 2001 From: MrKicker Date: Sat, 8 Dec 2018 21:43:22 -0500 Subject: [PATCH 1/2] REVERT DIDNT WORK --- code/game/machinery/hologram.dm | 1 - 1 file changed, 1 deletion(-) diff --git a/code/game/machinery/hologram.dm b/code/game/machinery/hologram.dm index aba817e0181..20132f614af 100644 --- a/code/game/machinery/hologram.dm +++ b/code/game/machinery/hologram.dm @@ -206,7 +206,6 @@ var/list/holopads = list() if(A) LAZYADD(callnames[A], I) callnames -= get_area(src) - callnames = sortNames(callnames) //Sorts the now complete callable list for ease of use dialling_input = TRUE var/result = input(usr, "Choose an area to call", "Holocall") as null|anything in callnames dialling_input = FALSE From 7cb7d662ca01dd3e43c1332a67d978e3bd156848 Mon Sep 17 00:00:00 2001 From: MrKicker Date: Sat, 8 Dec 2018 22:40:28 -0500 Subject: [PATCH 2/2] adds fixxed sort this time I sorted it useing the wright function --- code/game/machinery/hologram.dm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/code/game/machinery/hologram.dm b/code/game/machinery/hologram.dm index 20132f614af..8655c8e0602 100644 --- a/code/game/machinery/hologram.dm +++ b/code/game/machinery/hologram.dm @@ -206,8 +206,9 @@ var/list/holopads = list() if(A) LAZYADD(callnames[A], I) callnames -= get_area(src) + var/list/sorted_callnames = sortAtom(callnames) dialling_input = TRUE - var/result = input(usr, "Choose an area to call", "Holocall") as null|anything in callnames + var/result = input(usr, "Choose an area to call", "Holocall") as null|anything in sorted_callnames dialling_input = FALSE if(QDELETED(usr) || !result || outgoing_call) return