fix(rust): the profile list says "own loot" for a profile with a loot table
All checks were successful
PR Checks / server-tests (pull_request) Successful in 27s
PR Checks / frozen-manifest (pull_request) Successful in 49s
PR Checks / client-build (pull_request) Successful in 7m42s

Found on the stage 7 walk: a profile with its own loot read exactly like
one without in the list under the form, where a boss already says
"boss".

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01E14m6SuuY6i1vASFeGDBeY
This commit is contained in:
2026-10-06 01:28:18 -05:00
parent 33c5178ef9
commit 34ca84f6be

View File

@@ -339,7 +339,7 @@ export default function NpcProfiles() {
</button> </button>
</div> </div>
<span className="dim" style={{ fontSize: '0.76rem' }}> <span className="dim" style={{ fontSize: '0.76rem' }}>
{p.body.role}{p.body.boss ? ' · boss' : ''} · {p.body.health} health · kits {(p.body.kits || []).join(', ')} · {p.body.role === 'sentry' ? 'stands still' : p.body.movement && p.body.movement.mode} {p.body.role}{p.body.boss ? ' · boss' : ''}{p.body.loot ? ' · own loot' : ''} · {p.body.health} health · kits {(p.body.kits || []).join(', ')} · {p.body.role === 'sentry' ? 'stands still' : p.body.movement && p.body.movement.mode}
{' · '}kills counted: {p.killsScope === 'server' ? 'per server' : p.killsScope === 'name' ? 'every server with this name' : 'this profile only'} {' · '}kills counted: {p.killsScope === 'server' ? 'per server' : p.killsScope === 'name' ? 'every server with this name' : 'this profile only'}
</span> </span>
</div> </div>