Skip to content

Commit

Permalink
更换本地单开的运行参数
Browse files Browse the repository at this point in the history
  • Loading branch information
sumneko committed Oct 8, 2024
1 parent 9f20883 commit 374b795
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/launchGame.ts
Original file line number Diff line number Diff line change
Expand Up @@ -47,15 +47,15 @@ export class GameLauncher {
}

let args = [];
args.push('type@editor_game');
args.push('type@client');
if (options?.multi) {
args.push('subtype@editor_multi_game');
args.push('role_ids@' + options.multi.join('#'));
} else {
args.push('subtype@editor_game');
args.push('subtype@local_battle');
}
args.push('release@true');
args.push('editor_map_path@' + projectUri.fsPath);
args.push('path@' + projectUri.fsPath);
args.push('lua_dummy@sp ce');
if (options?.luaArgs) {
for (let key in options.luaArgs) {
Expand Down

0 comments on commit 374b795

Please sign in to comment.