Bug fix an issue where a player leaves and rejoins during combat things get broken, tending to generate:

Author Mere <rift@dokein.co.uk>
Author date 2013-08-03 14:24:58
Author local date 2013-08-03 15:24:58 +0100
Committer Mere <rift@dokein.co.uk>
Committer date 2013-08-03 14:24:58
Committer local date 2013-08-03 15:24:58 +0100
Commit e156bbae2b432440e2a75e0a8d949ae634b02bee
Tree ea6f8f84a6482a327502cc51fa38345e4fcc256a
Parent e9a88ac69c223847cc0ea2deaec136bdef129ac3
Bug fix an issue where a player leaves and rejoins during combat things get broken, tending to generate:
attempt to index field ''PlayerEvents'' (a nil value)

This was because old panel was listed as associated with the unitid, but the player info object it was referencing was the old one, which didn't have player events any more.

Fix it so that when a playerinfo object is deleted also remove the table tracking panels for that unitid, as new ones will be setup when the player is joined to panels/layouts.

This makes sure that updates for that unit don't get processed on the old panel.

One side effect, if a player leaves and rejoins we leave them in a left group state, but that should be relatively rare.

I may look at ways to improve it longer term, possibly not storing the playerinfo object in the healing panel (or properly linking it to the newly created one)

Bump version for this fix.