Befriended pet dislikes being released

Summary:
When unfriending a pet, an error occurs

Steps to reproduce:

  1. Trapper Befriends pet
  2. Unfriend pet
  3. ???
  4. Profit

Expected Results:
The pet to leave.

Actual Results:
The pet leaves after it causes a lag spike and an error message to appear.

Notes:

release-519 (x64)
stonehearth/components/pet/pet_component.lua:100: attempt to call method ‘destroy’ (a nil value)
stack traceback:
[C]: in function 'destroy’
stonehearth/components/pet/pet_component.lua:100: in function '_destroy_orchestrator’
stonehearth/components/pet/pet_component.lua:56: in function ‘release_pet’
…arth/call_handlers/unit_control/pet_call_handler.lua:6: in function <…arth/call_handlers/unit_control/pet_call_handler.lua:3>

System

Windows 10 x64
Intel i5 4670
8GB RAM
AMD R9 270

How spiteful of them! :stuck_out_tongue:

1 Like