Skip to content

Items that cant be bought due to minimum player amount being set below current playercount show up in Random Shop. #1679

@MrXonte

Description

@MrXonte

Your version of TTT2 (mandatory)

Workshop version from Steam (v0.14.0b)

Describe the bug (mandatory)

Items with a minimum player number set show up in random shops even if the player number is too low for them to be buyable, taking away options.

To reproduce

Steps to reproduce the behaviour:

  1. Set items to a minimum player number
  2. Enable random shop
  3. play with less players than that number
  4. Have "wasted" shop slots

Expected behaviour

Disabled items (which I count items that cant be used due to player count) should not be in the random shop.

Context (please provide as much as you can)

clean TTT2

Metadata

Metadata

Assignees

Labels

Type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions