Screeps Clear Memory of Dead Screeps

for(var i in Memory.creeps) {
    if(!Game.creeps[i]) {
        delete Memory.creeps[i];
    }
}
Abstraction Mage