Summary:
When one of my hearthlings destroys the black church while a new hearthling is being promoted to a swordsman
Steps to reproduce:
- Send some swordsmen to destroy the black church while a new one is being promoted
Actual Results:
release-826 (x64)
std::logic_error: 'invalid reference in native get_id'
stack traceback:
radiant/modules/commons.lua:53: in function 'report_traceback'
radiant/modules/commons.lua:64: in function <radiant/modules/commons.lua:58>
[C]: in function 'get_id'
radiant/modules/entities.lua:365: in function 'get_world_grid_location'
...t_server_commands/combat_server_commands_service.lua:728: in function 'handle_party_addition'
stonehearth/components/party/party_component.lua:123: in function 'add_member'
stonehearth/jobs/combat_job.lua:39: in function 'fn'
stonehearth/components/job/job_component.lua:538: in function '_call_job'
stonehearth/components/job/job_component.lua:314: in function 'promote_to'
...arth/ai/actions/change_job_using_talisman_action.lua:24: in function '_trigger_cb'
radiant/modules/effects/trigger_effect.lua:14: in function 'fn'
radiant/controllers/nonpersistent_timer.lua:56: in function 'fire'
radiant/controllers/time_tracker_controller.lua:86: in function <radiant/controllers/time_tracker_controller.lua:86>
[C]: in function 'xpcall'
radiant/modules/commons.lua:73: in function 'xpcall'
radiant/controllers/time_tracker_controller.lua:86: in function 'set_now'
radiant/modules/gamestate.lua:9: in function 'set_now'
radiant/server.lua:66: in function <radiant/server.lua:64>
Version Number and Mods in use:
Release 826 x64
System Information:
Windows 7 x64