mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-23 05:00:55 +01:00
[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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user