mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-28 06:27:26 +01:00
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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user