Skip to content

Make bot_add with no argument pick a random name again #67

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Jun 4, 2016

Conversation

TomyLobo
Copy link
Collaborator

@TomyLobo TomyLobo commented Jun 4, 2016

Bug introduced in #61

@@ -37,7 +37,7 @@ CON_COMMAND_F( bot_add, "Add a bot.", FCVAR_GAMEDLL )
ConVarRef bot_quota("bot_quota");
bot_quota.SetValue(bot_quota.GetInt() + 1);

if (args.ArgC() > 0) {
if (!FStrEq("", args.ArgS())) {
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

... oh yea I forgot these args don't work like main args. Brillant.

@BSVino
Copy link
Owner

BSVino commented Jun 4, 2016

Ship.

@TomyLobo TomyLobo merged commit 828b7b2 into develop Jun 4, 2016
@TomyLobo TomyLobo deleted the bot-add-name branch June 4, 2016 20:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants