mirror of
https://github.com/Pax1601/DCSOlympus.git
synced 2025-10-29 16:56:34 +00:00
Added tiny fixed
This commit is contained in:
parent
4f72f10642
commit
b9201d583c
@ -1,6 +1,10 @@
|
||||
cd scripts
|
||||
call ./copy.bat
|
||||
cd ..
|
||||
|
||||
REM create a "fake" dcs Saved Games folder
|
||||
mkdir "%temp%\DCS Olympus\dcs"
|
||||
echo F|xcopy /Y "..\olympus.json" "%temp%\DCS Olympus\dcs\Config\olympus.json"
|
||||
echo D|xcopy /Y /S /E "..\databases" "%temp%\DCS Olympus\dcs\Mods\Services\Olympus\databases"
|
||||
|
||||
concurrently --kill-others "node ./bin/demo --config \"%temp%\DCS Olympus\dcs\Config\olympus.json\"" "npm run watch" "nodemon --ignore ./public/databases/ ./bin/www -- --config \"%temp%\DCS Olympus\dcs\Config\olympus.json\""
|
||||
concurrently --kill-others "node ./bin/demo --config \"%temp%\DCS Olympus\dcs\Config\olympus.json\"" "npm run watch" "nodemon --ignore ./public/databases/ ./bin/www -- --config \"%temp%\DCS Olympus\dcs\Config\olympus.json\""
|
||||
@ -1,3 +1,7 @@
|
||||
@echo off
|
||||
cd scripts
|
||||
call ./copy.bat
|
||||
cd ..
|
||||
|
||||
set /p "config=Enter DCS Saved Games folder location: "
|
||||
concurrently --kill-others "npm run watch" "nodemon --ignore ./public/databases/ ./bin/www -- --config \"%config%\Config\Olympus.json\""
|
||||
@ -39,6 +39,7 @@ export abstract class UnitSpawnMenu {
|
||||
#countryCodes: any;
|
||||
#orderByRole: boolean;
|
||||
#showLoadout: boolean = true;
|
||||
#showSkill: boolean = true;
|
||||
#showAltitudeSlider: boolean = true;
|
||||
|
||||
/* Controls */
|
||||
@ -233,6 +234,7 @@ export abstract class UnitSpawnMenu {
|
||||
/* Reset the spawn options */
|
||||
this.spawnOptions.name = "";
|
||||
this.spawnOptions.loadout = undefined;
|
||||
this.spawnOptions.skill = "Excellent";
|
||||
this.spawnOptions.liveryID = undefined;
|
||||
|
||||
this.#computeSpawnPoints();
|
||||
@ -530,6 +532,10 @@ export abstract class UnitSpawnMenu {
|
||||
this.#showLoadout = showLoadout;
|
||||
}
|
||||
|
||||
setShowSkill(showSkill: boolean) {
|
||||
this.#showSkill = showSkill
|
||||
}
|
||||
|
||||
setShowAltitudeSlider(showAltitudeSlider: boolean) {
|
||||
this.#showAltitudeSlider = showAltitudeSlider;
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user