Skip to content

Commit

Permalink
reuse remove_from_storage instead for dump_objectives
Browse files Browse the repository at this point in the history
  • Loading branch information
Drulikar committed Jul 8, 2023
1 parent 8d5977c commit 3aaf94b
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions code/game/objects/items/storage/storage.dm
Original file line number Diff line number Diff line change
Expand Up @@ -801,8 +801,7 @@ W is always an item. stop_warning prevents messaging. user may be null.**/
/obj/item/storage/proc/dump_objectives()
for(var/obj/item/cur_item in src)
if(cur_item.is_objective)
cur_item.forceMove(loc)
cur_item.mouse_opacity = initial(cur_item.mouse_opacity)
remove_from_storage(cur_item, loc)


/obj/item/storage/Destroy()
Expand Down

0 comments on commit 3aaf94b

Please sign in to comment.