RnD Rearrangement (#8494)

This commit is contained in:
Geeves
2020-03-28 09:30:46 +01:00
committed by GitHub
parent cd5af8f60d
commit 2a8564e7d4
40 changed files with 1619 additions and 2319 deletions
+2 -2
View File
@@ -110,9 +110,9 @@ research holder datum.
return
for(var/i = 1 to known_designs.len)
var/datum/design/A = known_designs[i]
if(A.id == D.id) // We are guaranteed to reach this if the ids are the same, because sort_string will also be the same
if("[A.type]" == "[D.type]") // We are guaranteed to reach this if the ids are the same, because sort_string will also be the same
return
if(A.sort_string > D.sort_string)
if(A.design_order > D.design_order)
known_designs.Insert(i, D)
return
known_designs.Add(D)