d2c36a4a95
The kill handler's position capture ran inside 'if credited then', but credited was read before its 'local credited = ...' assignment a few lines below, so it was always nil and px,py were never captured -- every killed NPC stayed spawnSource='fallback' with no [7] and drew no learner pins regardless of kill count. Move the credited computation above the capture and nil-guard a 0,0 position. GetPlayerCoords now uses the robust GetCurrentPlayerPosition (Sunstrider-corrected), returning nil when invalid so no 0,0 pins are recorded. Reverts the earlier HBD GetPlayerCoords approach which treated the wrong symptom and caused spurious pins.