Skip to content

Commit

Permalink
Fixes big manipulator manipulating laws of physics (tgstation#88677)
Browse files Browse the repository at this point in the history
  • Loading branch information
SyncIt21 authored Dec 24, 2024
1 parent a2c8267 commit 78bb4f4
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion code/game/machinery/big_manipulator.dm
Original file line number Diff line number Diff line change
Expand Up @@ -288,7 +288,12 @@
target.forceMove(drop_turf)
target.dir = get_dir(get_turf(target), get_turf(src))
else
target.forceMove(where_we_drop)
var/atom/drop_target = where_we_drop
if(drop_target.atom_storage)
if(!drop_target.atom_storage.attempt_insert(target, override = TRUE, messages = FALSE))
target.forceMove(drop_target.drop_location())
else
target.forceMove(where_we_drop)
finish_manipulation()

/// 3.3 take and drop proc from [take and drop procs loop]:
Expand Down

0 comments on commit 78bb4f4

Please sign in to comment.