mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-08-28 06:28:01 +01:00
Blood vomit and failsafe (#17792)
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user