nzp-team / nzportable

Call of Duty: Zombies demake, powered by various Quake sourceports. https://docs.nzp.gay/
472 stars 47 forks source link

`Perk_RandomDecide` should throw an `objerror` instead of causing a runaway #967

Open MotoLegacy opened 1 week ago

MotoLegacy commented 1 week ago

Describe your suggestion If a map maker is not using perk_random properly to the point where machines are trying to spawn perks when there are not any available slots left, there should be a verbose objerror to report this and also not crash the level.

MotoLegacy commented 1 week ago

Docs page should also be updated to add note that you cannot spawn duplicate machines via perk_random.