Makes debris not come from disablers (#25435)

This commit is contained in:
DGamerL
2024-05-08 23:54:30 +00:00
committed by GitHub
parent 771a6e7424
commit 15535963ec
+1 -1
View File
@@ -74,7 +74,7 @@
smoke_visuals.particles.position = list(position_offset, position_offset)
smoke_visuals.particles.velocity = list(x_component_smoke, y_component_smoke)
if(debris && !(P.damage_type == BURN))
if(debris && P.damage_type == BRUTE)
debris_visuals = new(parent, /particles/debris)
debris_visuals.particles.position = generator("circle", position_offset, position_offset)
debris_visuals.particles.velocity = list(x_component, y_component)