mirror of
https://github.com/edgegamers/poor-sharptimer.git
synced 2025-12-05 20:40:25 -08:00
Merge branch 'feat/replayDirConfig' into dev
This commit is contained in:
@@ -152,7 +152,7 @@ sharptimer_replays_enabled false
|
||||
sharptimer_replay_max_length 300 // The maximum length for a Replay to be saved in seconds. Anything longer will be discarded Default value: 300
|
||||
sharptimer_replay_bot_enabled false // Whether a looping Server Record bot should be spawned in or not (requires navmesh fix). Default value: false
|
||||
sharptimer_replay_bot_name SERVER RECORD REPLAY // What the name of the Replay Record bot should be. Default value: SERVER RECORD REPLAY
|
||||
sharptimer_replay_data_directory csgo cfg SharpTimer PlayerReplayData // Directory for replay data. Prepended with game dir. Default value: csgo cfg SharpTimer PlayerReplayData
|
||||
sharptimer_replay_data_directory csgo/cfg/SharpTimer/PlayerReplayData // Directory for replay data. Prepended with game dir. Default value: csgo cfg SharpTimer PlayerReplayData
|
||||
|
||||
|
||||
//CHECKPOINTS/SAVELOC
|
||||
|
||||
@@ -1837,7 +1837,7 @@ namespace SharpTimer
|
||||
remoteSurfDataSource = $"{args}";
|
||||
}
|
||||
|
||||
[ConsoleCommand("sharptimer_replay_data_directory", "Directory for replay data. Prepended with game dir. Default value: csgo cfg SharpTimer PlayerReplayData")]
|
||||
[ConsoleCommand("sharptimer_replay_data_directory", "Directory for replay data. Prepended with game dir. Default value: csgo/cfg/SharpTimer/PlayerReplayData")]
|
||||
[CommandHelper(whoCanExecute: CommandUsage.SERVER_ONLY)]
|
||||
public void SharpTimerReplayDataDirectory(CCSPlayerController? player, CommandInfo command)
|
||||
{
|
||||
@@ -1849,7 +1849,7 @@ namespace SharpTimer
|
||||
return;
|
||||
}
|
||||
|
||||
playerReplaysPath = Path.Join(gameDir, args);
|
||||
Path.Join([gameDir, ..args.Split('/')]);
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user