mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-23 05:00:55 +01:00
Supply datums will now use initial() to get the name of the items in their contents, instead of creating and deleting the objects before roundstart.
This commit is contained in:
@@ -55,13 +55,10 @@ var/list/all_supply_groups = list(supply_emergency,supply_security,supply_engine
|
||||
manifest += "<ul>"
|
||||
for(var/path in contains)
|
||||
if(!path) continue
|
||||
var/atom/movable/AM = new path()
|
||||
manifest += "<li>[AM.name]</li>"
|
||||
// del AM //just to make sure they're deleted, no longer garbage collected, as there are way to many objects in crates that have other references.
|
||||
qdel(AM) // How about we fix the issues rather than bypass them, mmkay?
|
||||
var/atom/movable/AM = path
|
||||
manifest += "<li>[initial(AM.name)]</li>"
|
||||
manifest += "</ul>"
|
||||
|
||||
|
||||
////// Use the sections to keep things tidy please /Malkevin
|
||||
|
||||
//////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
Reference in New Issue
Block a user