mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-01-09 00:42:34 +00:00
Plantbag fixes (#388)
Fixed icons getting stuck onscreen when emptying a plantbag into a biogenerator or grinder Increased the biogenerator's capacity to be able to hold an entire plant bag. because it's a giant stationary machine and the small capacity was nonsensical
This commit is contained in:
@@ -617,12 +617,12 @@
|
||||
|
||||
if(istype(O,/obj/item/weapon/storage/bag/plants))
|
||||
var/failed = 1
|
||||
for(var/obj/item/G in O.contents)
|
||||
var/obj/item/weapon/storage/bag/P = O
|
||||
for(var/obj/item/G in P.contents)
|
||||
if(!G.reagents || !G.reagents.total_volume)
|
||||
continue
|
||||
failed = 0
|
||||
O.contents -= G
|
||||
G.loc = src
|
||||
P.remove_from_storage(G,src)
|
||||
holdingitems += G
|
||||
if(holdingitems && holdingitems.len >= limit)
|
||||
break
|
||||
|
||||
Reference in New Issue
Block a user