mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-08-28 15:39:57 +01:00
Ports /tg/ spatial grid system, refactors telecomms, destroys lag (#15140)
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
@@ -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))
|
||||
|
||||
Reference in New Issue
Block a user