[NO GBP] Fixes ore bags only picking one item per holder's move (#93278)

## About The Pull Request

Small oversight, ``||=`` ends up not running if show_message is TRUE, so
it only picks up one item at a time per move
This commit is contained in:
SmArtKar
2025-10-05 15:35:16 -05:00
committed by GitHub
parent 8467a0a1cd
commit cec80b3e8a
+4 -2
View File
@@ -164,8 +164,10 @@
var/show_message = FALSE
for(var/atom/thing as anything in tile)
if(is_type_in_typecache(thing, atom_storage.can_hold))
show_message ||= pickup_ore(thing, user, box)
if(!is_type_in_typecache(thing, atom_storage.can_hold))
continue
if(pickup_ore(thing, user, box))
show_message = TRUE
if (!show_message)
spam_protection = FALSE