Skip to content

[Bug]: (IPC Medical Rework Testmerge) handle_burst_damage Runtime #21293

@sadkermit

Description

@sadkermit

Checks

  • I have searched the bug with a few keywords, and I confirm this bug was not yet reported.

Location

Event / Other

Describe the issue

burst damaging an IPC doesn't apply damage effects due to a null owner variable

Stacktrace:

[2025-08-31 00:34:09.148] cBl-dyln RUNTIME: runtime error: Cannot read null.internal_organs_by_name
 - proc name: handle burst damage (/obj/item/organ/internal/machine/posibrain/proc/handle_burst_damage)
 -   source file: code/modules/organs/internal/species/machine/posibrain.dm,282
 -   usr: null
 -   src: the positronic brain (/obj/item/organ/internal/machine/posibrain)
 -   src.loc: null
 -   call stack:
 - the positronic brain (/obj/item/organ/internal/machine/posibrain): handle burst damage()
 - the positronic brain (/obj/item/organ/internal/machine/posibrain): add burst damage counter()
 - /datum/component/synthetic_bur... (/datum/component/synthetic_burst_damage): burst damage effects()
 - /datum/component/synthetic_bur... (/datum/component/synthetic_burst_damage): receive internal damage(x (/mob/living/carbon/human), 6.85761)
 - x (/mob/living/carbon/human):  SendSignal("machine_internal_damage", /list (/list))
 - the air cooling unit (/obj/item/organ/internal/machine/cooling_unit): take internal damage(6.85761, null)
 - the air cooling unit (/obj/item/organ/internal/machine/cooling_unit): process(1)
 - Processing (/datum/controller/subsystem/processing): fire(1)
 - Processing (/datum/controller/subsystem/processing): ignite(1)
 - Master (/datum/controller/master): RunQueue()
 - Master (/datum/controller/master): Loop(2)
 - Master (/datum/controller/master): StartProcessing(0)
 

How to reproduce

  1. Spawn an IPC
  2. Spawn a gun with burst fire
  3. Shoot IPC
  4. Observe runtime errors

Round ID

cBl-dyln

Staff ckey

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions