Skip to content

Commit

Permalink
Order of operation... derp
Browse files Browse the repository at this point in the history
  • Loading branch information
Rigó János committed Jan 1, 2024
1 parent 33af189 commit de77cea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion code/game/objects/items/explosives/explosive.dm
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@
return
else
if(W.reagents.total_volume)
if(W.reagents.maximum_volume + current_container_volume > max_container_volume)
if((W.reagents.maximum_volume + current_container_volume) > max_container_volume)
to_chat(user, SPAN_DANGER("\the [W] is too large for [name]."))
return
if(user.temp_drop_inv_item(W))
Expand Down

0 comments on commit de77cea

Please sign in to comment.