Skip to content
This repository was archived by the owner on May 22, 2025. It is now read-only.
This repository was archived by the owner on May 22, 2025. It is now read-only.

secmedsrv_payout() does not actually replenish sec budget, causing sec budget to never increase #14485

@123chess456

Description

@123chess456

Severity

Inconvenience

Short Description

/datum/controller/subsystem/economy/proc/secmedsrv_payout() does not replenish the sec budget at any point. This means that over the course of a shift, the security budget will ALWAYS decrease and never replenish.

Reproduction

  1. start a round
  2. play as warden or HoS
  3. take all the money out at shiftstart to buy stuff
  4. don't get paid for the rest of the shift
  5. look at a defense budget that refuses to increase ever

Round ID

#41484

Test Merges

#14437

BYOND Username

123chess456

Additional information

I haven't submitted a PR because I don't know what the expected behaviour is, but there is currently no code in /datum/controller/subsystem/economy/proc/secmedsrv_payout() to handle security payouts. This is probably why the security budget decreases all shift and never goes up.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions