Fixes splashing full containers on dispensers (#29968)

This commit is contained in:
DeityLink
2021-07-11 22:17:06 +02:00
committed by GitHub
parent 80da978e18
commit 3242555b83

View File

@@ -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