mirror of
https://github.com/vgstation-coders/vgstation13.git
synced 2025-12-09 16:14:13 +00:00
Fixes splashing full containers on dispensers (#29968)
This commit is contained in:
@@ -246,7 +246,7 @@ var/list/LOGGED_SPLASH_REAGENTS = list(FUEL, THERMITE)
|
||||
var/tx_amount = transfer_sub(target, src, S.amount_per_transfer_from_this, user)
|
||||
if (tx_amount > 0)
|
||||
to_chat(user, "<span class='notice'>You fill \the [src][src.is_full() ? " to the brim" : ""] with [tx_amount] units of the contents of \the [target].</span>")
|
||||
return tx_amount
|
||||
return tx_amount
|
||||
// Transfer to container
|
||||
if (can_send /*&& target.reagents**/)
|
||||
var/obj/container = target
|
||||
|
||||
Reference in New Issue
Block a user