Ports /tg/ spatial grid system, refactors telecomms, destroys lag (#15140)

This commit is contained in:
Wildkins
2022-12-09 12:35:33 +01:00
committed by GitHub
parent d3f8f12fea
commit 2fcfa8adb7
158 changed files with 4068 additions and 3263 deletions
+1 -4
View File
@@ -88,9 +88,7 @@
// It handles items shipped for bounties.
/datum/controller/subsystem/cargo/proc/bounty_ship_item_and_contents(atom/movable/AM, dry_run=FALSE)
var/list/matched_one = FALSE
var/list/contents = list()
contents += AM
contents += AM.GetAllContents()
var/list/contents = AM.GetAllContents()
for(var/thing in reverseRange(contents))
var/matched_this = FALSE
for(var/datum/bounty/B in bounties_list)
@@ -227,4 +225,3 @@
if(B.claimed)
++count
return count
+1 -3
View File
@@ -30,9 +30,7 @@ Credit dupes that require a lot of manual work shouldn't be removed, unless they
var/sold_str = ""
var/cost = 0
var/list/contents = list()
contents += AM //Also add the container object
contents += AM.GetAllContents()
var/list/contents = AM.GetAllContents()
// We go backwards, so it'll be innermost objects sold first
for(var/i in reverseRange(contents))