diff --git a/code/game/machinery/medical_pod/sleeper.dm b/code/game/machinery/medical_pod/sleeper.dm index 84ef2f579ba1..623529677eb4 100644 --- a/code/game/machinery/medical_pod/sleeper.dm +++ b/code/game/machinery/medical_pod/sleeper.dm @@ -208,6 +208,9 @@ var/amount = text2num(params["amount"]) if(!length(chemical) || amount <= 0) return + if(!(chemical in connected.available_chemicals)) + log_debug("[chemical] is not available to inject in a [src]!") + return if(connected.occupant.health > connected.min_health || (chemical in connected.emergency_chems)) connected.inject_chemical(usr, chemical, amount) else