mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-12 19:22:56 +00:00
Merge pull request #14543 from Heroman3003/ore-pieces
Allows ore processors to start collecting ore pieces again
This commit is contained in:
committed by
CHOMPStation2
parent
18b6791abf
commit
8fa41aa7b6
@@ -253,6 +253,12 @@
|
|||||||
ore_chunk.stored_ore[ore] = 0
|
ore_chunk.stored_ore[ore] = 0
|
||||||
qdel(ore_chunk)
|
qdel(ore_chunk)
|
||||||
|
|
||||||
|
for(var/obj/item/weapon/ore/O in input.loc)
|
||||||
|
if(!isnull(ores_stored[O.material]))
|
||||||
|
ores_stored[O.material]++
|
||||||
|
points += (ore_values[O.material]*points_mult)
|
||||||
|
qdel(O)
|
||||||
|
|
||||||
if(!active)
|
if(!active)
|
||||||
return
|
return
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user