Files
Bubberstation/code/datums
Timberpoes 3ccd58639c Fix runtime with CANT_WOUND weapons that use pellet_cloud (#53001)
In /datum/component/pellet_cloud/proc/pellet_hit if the projectile's wound_bonus is CANT_WOUND, then wound_info_by_part[hit_part] never gets a value set.

This causes an issue in /datum/component/pellet_cloud/proc/finalize() where it assumes that wound_info_by_part[hit_part] has always been set to a list(x,y,z).

I added a quick if check to skip this where there's no wound info for a part.

Weapon this behaviour manifested on: DRAGnet on net mode. Due to the runtime, I didn't notice it dealing any stamina damage. This should fix that scenario as well as any other CANT_WOUND projectiles and prevent them from runtiming early.
2020-08-18 21:26:29 -03:00
..
2020-08-17 20:09:56 +02:00
2020-06-29 16:16:45 -03:00
2020-08-16 20:25:36 +12:00
2020-07-27 23:20:08 -03:00
2020-07-16 20:13:04 +02:00