CleverRaven/Cataclysm-DDA

Taking away bandages from friendly NPC followers bug

Open

#66,017 建立於 2023年6月5日

在 GitHub 查看
 (2 留言) (0 反應) (0 負責人)C++ (3,991 fork)batch import
<Crash / Freeze>Help Wanted

倉庫指標

Star
 (9,264 star)
PR 合併指標
 (平均合併 6天 5小時) (30 天內合併 292 個 PR)

描述

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

貢獻者指南