Skip to content

Commit

Permalink
Fixed a bug with setting names
Browse files Browse the repository at this point in the history
  • Loading branch information
sleepycrow committed Aug 3, 2018
1 parent b78da09 commit 64c73f0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion clientLauncher.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ class ClientLauncher{
// Map/IP
if(args.map) commandElements.push(args.map);
else if(args.ip) commandElements.push(args.ip);
else commandElements.push(""); // just so there's always a space between the normal args and udk args

// Username
if(args.nickname) udkArgs.push("?name=" + args.nickname);
Expand All @@ -46,7 +47,7 @@ class ClientLauncher{
}

// Generate the command
var command = commandElements.join(" ") + " " + udkArgs.join("");
var command = commandElements.join(" ") + udkArgs.join("");
exec(command);

resolve(command);
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "gigantic-launcher",
"productName": "Gigantic Launcher",
"version": "1.2.0",
"version": "1.2.1",
"description": "An off-brand launcher for Gigantic",
"main": "index.js",
"scripts": {
Expand Down

0 comments on commit 64c73f0

Please sign in to comment.