Skip to content

Vampire mode: do not abuse the g_BPInitialBudget* cvars#3287

Merged
sweet235 merged 5 commits intoUnvanquished:vampire-modefrom
sweet235:vampire-state-cvars
Jan 10, 2025
Merged

Vampire mode: do not abuse the g_BPInitialBudget* cvars#3287
sweet235 merged 5 commits intoUnvanquished:vampire-modefrom
sweet235:vampire-state-cvars

Conversation

@sweet235
Copy link
Copy Markdown

@sweet235 sweet235 commented Jan 9, 2025

Fix the ugly hack I had started with. Do not modify the cvars g_BPInitialBudgetAliens and g_BPInitialBudgetHumans anymore. Doing this is probably dangerous, as these are serverinfo cvars.

This also reverts a hacky commit I had added to temporarily allow negative values for said cvars.

Directly modify level.team[ team ].totalBudget instead.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants