Skip to content

Fix passports spawning on the floor#5299

Merged
out-of-phaze merged 1 commit intoNebulaSS13:devfrom
out-of-phaze:fix/passport-drop
Feb 14, 2026
Merged

Fix passports spawning on the floor#5299
out-of-phaze merged 1 commit intoNebulaSS13:devfrom
out-of-phaze:fix/passport-drop

Conversation

@out-of-phaze
Copy link
Member

Description of changes

equip_to_slot would return TRUE even if it failed due to no backpack being equipped, but most outfits had backpacks so it was never noticed. The same happens with slot_in_wallet_str, but most outfits don't have wallets, so it would incorrectly return TRUE and not check the backpack or put it in your hands. This uses the correct proc to avoid that. It will also avoid it spawning on the floor if you have no backpack.

Why and what will this PR improve

Passports will no longer spawn on the floor if you don't have a wallet.

Authorship

Me.

@out-of-phaze out-of-phaze added the ready for review This PR is ready for review and merge. label Feb 13, 2026
@out-of-phaze out-of-phaze merged commit 201c8d6 into NebulaSS13:dev Feb 14, 2026
13 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ready for review This PR is ready for review and merge.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants