fixed npc death on client
allow saving assets