fixes lastknown on death
this should be safer
Merge pull request #1238 from CalebJohn/lastknown

Sets value on a nil lasknown