[Dup] [Bug] [Dev 2620] Prune Dead Listeners

Title:
Prune Dead Listeners Persists?

Summary:
Loaded a dev savegame from four days ago and continued playing on 2620. Instructed my footmen to dispatch some goblins, which they did with extreme prejudice. The moment they died, the game threw these prune dead listeners errors:

develop-2620 (x64)
@radiant/modules/events.luac:73: old_entry is nil
stack traceback:
	radiant/modules/common.luac:46: in function 'report_traceback'
	radiant/modules/common.luac:125: in function 'verify'
	radiant/modules/events.luac:73: in function '_prune_dead_listeners'
	radiant/modules/events.luac:78: in function '_update'
	radiant/server.luac:19: in function <radiant/server.luac:17>

develop-2620 (x64)
@radiant/modules/events.luac:73: old_entry ~= entry
stack traceback:
	radiant/modules/common.luac:46: in function 'report_traceback'
	radiant/modules/common.luac:125: in function 'verify'
	radiant/modules/events.luac:73: in function '_prune_dead_listeners'
	radiant/modules/events.luac:78: in function '_update'
	radiant/server.luac:19: in function <radiant/server.luac:17>

It’s important to note that this behavior existed in 2609 as well, which was the last Dev build I tested (about four days ago), so unless 2609 save games are invalid for testing this bugfix, the issue is apparently still present.

Steps to reproduce:
1) Load this save game
2) Wait til Goblins spawn again
3) Create a Party consisting of both footmen and set a waypoint near the goblins
4) Wait for the footmen to kill a goblin

Expected Results:
Dead goblins, no _prune_dead_listeners error dialog.

Actual Results:
Dead goblins, _prune_dead_listeners error dialog.

Versions and Mods:
Dev 2620

System Information:
Win10, x64

5 posts were merged into an existing topic: [Res] [Bug] [Dev 2611] looping error (prune_dead_listeners)