mirror of
https://github.com/Grasscutters/Cultivation.git
synced 2025-12-12 23:24:35 +01:00
lint & fix
This commit is contained in:
@@ -98,7 +98,7 @@ async fn parse_args(inp: &Vec<String>) -> Result<Args, ArgsError> {
|
|||||||
|
|
||||||
if args.value_of("launch-game")? {
|
if args.value_of("launch-game")? {
|
||||||
let game_path = config.game_install_path;
|
let game_path = config.game_install_path;
|
||||||
let game_args: String = args.value_of("game-args").unwrap_or(String::new());
|
let game_args: String = args.value_of("game-args").unwrap_or_default();
|
||||||
|
|
||||||
// Patch if needed
|
// Patch if needed
|
||||||
if args.value_of("patch")? {
|
if args.value_of("patch")? {
|
||||||
|
|||||||
Reference in New Issue
Block a user