Blood vomit and failsafe (#17792)

This commit is contained in:
Cameron Lennox
2025-06-03 08:15:09 -07:00
committed by GitHub
parent 7e255f40a0
commit b5588e645d
2 changed files with 6 additions and 1 deletions
+5
View File
@@ -422,6 +422,11 @@ var/const/CE_STABLE_THRESHOLD = 0.5
if(M.isSynthetic()) synth = 1
source = M.get_blood(M.vessel)
//Someone fed us a weird source. Let's log it.
if(source && !istype(source, /datum/reagent/blood))
log_debug("A blood splatter was made using non-blood datum [source]!")
source = null //Clear the source since it's invalid. Fallback to non-source behavior.
// Are we dripping or splattering?
var/list/drips = list()
// Only a certain number of drips (or one large splatter) can be on a given turf.