CleverRaven/Cataclysm-DDA

Taking away bandages from friendly NPC followers bug

Open

#66.017 geöffnet am 5. Juni 2023

Auf GitHub ansehen
 (2 Kommentare) (0 Reaktionen) (0 zugewiesene Personen)C++ (3.991 Forks)batch import
<Crash / Freeze>Help Wanted

Repository-Metriken

Stars
 (9.264 Stars)
PR-Merge-Metriken
 (Durchschn. Merge 6T 5h) (292 gemergte PRs in 30 T)

Beschreibung

Describe the bug

Taking away bandages from friendly NPC followers while they are bandaging themselves will cause the game to crash.

Attach save file

N/A

Steps to reproduce

  1. Give the friendly NPC some bandages and antiseptic
  2. Make the friendly take damage from zombies
  3. The NPC will proceed to bandage himself ( might require the npc to have a bit of healthcare skill, the friendly NPC that triggered this bug had 8 in healthcare )
  4. Kill zombie (optional)
  5. Take away those bandages and antiseptics BEFORE the NPC finishes using "first aid "
  6. Walk around a bit
  7. Game crash

Expected behavior

I expected the the NPC to stop applying first aid and go on as normal

Screenshots

Seconds before the crash. image What pops up after the crash image

Versions and configuration

Windows 10 Using the latest Stable 0.G Gaiman Using the Built in MSXOTTO tileset

Additional context

crash.log debug.log

Contributor Guide