Skip to content

Commit

Permalink
fix(args): Fix parameter passing
Browse files Browse the repository at this point in the history
  • Loading branch information
Assasans committed Aug 18, 2022
1 parent cb2d659 commit 8408364
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/jp/assasans/protanki/client/chainloader/Main.as
Original file line number Diff line number Diff line change
Expand Up @@ -50,12 +50,12 @@ package jp.assasans.protanki.client.chainloader {
this.loader = new Loader();
this.loader.contentLoaderInfo.addEventListener(Event.COMPLETE, this.onComplete);

const serverEndpoint: Vector.<String> = loaderInfo.parameters['server'].split(':');
const serverEndpoint: Vector.<String> = Vector.<String>(loaderInfo.parameters['server'].split(':'));

const parameters: Object = {
lang: loaderInfo.parameters['locale'],
ip: serverEndpoint[0],
port: Number(serverEndpoint[1]),
port: serverEndpoint[1],
resources: loaderInfo.parameters['resources']
};

Expand Down

0 comments on commit 8408364

Please sign in to comment.