mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2026-01-05 23:13:06 +00:00
Merge branch 'master' into upstream-merge-14206
This commit is contained in:
@@ -140,7 +140,12 @@
|
||||
return
|
||||
|
||||
// Cache this since S may go away after use()
|
||||
var/list/sheet_matter = S.matter
|
||||
var/list/sheet_matter
|
||||
if(istype(S, /obj/item/stack/material))
|
||||
var/obj/item/stack/material/MS = S
|
||||
sheet_matter = list(MS.material.name = 2000)
|
||||
else
|
||||
sheet_matter = S.matter
|
||||
|
||||
// Calculate total amount of material for one sheet
|
||||
var/matter_per_sheet = 0
|
||||
|
||||
Reference in New Issue
Block a user