Fix ore picking with bag (#26488)

* No comments...

* Update code/game/objects/items/stacks/stack.dm

Co-authored-by: DGamerL <108773801+DGamerL@users.noreply.github.com>
Signed-off-by: Aylong <69762909+AyIong@users.noreply.github.com>

---------

Signed-off-by: Aylong <69762909+AyIong@users.noreply.github.com>
Co-authored-by: DGamerL <108773801+DGamerL@users.noreply.github.com>
This commit is contained in:
Aylong
2024-08-13 15:10:16 +00:00
committed by GitHub
co-authored by DGamerL
parent bf8473da56
commit d9927eb62a
+2 -3
View File
@@ -139,9 +139,8 @@
ui_interact(user)
/obj/item/stack/attackby(obj/item/thing, mob/user, params)
if((parent_stack && !istype(thing, merge_type)) || (parent_stack && thing.type != type))
..()
return
if((!parent_stack && !istype(thing, merge_type)) || (parent_stack && thing.type != type))
return ..()
var/obj/item/stack/material = thing
merge(material)