Merge pull request #10369 from MrKicker/holopadSort

Sorts callable holopads before displaying
This commit is contained in:
variableundefined
2018-11-28 14:04:03 +08:00
committed by GitHub
+1
View File
@@ -206,6 +206,7 @@ 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