mirror of
https://github.com/FlightControl-Master/MOOSE_MISSIONS.git
synced 2026-08-24 16:41:31 +00:00
Update UpdateMoose.py
This commit is contained in:
@@ -28,6 +28,11 @@ def update(f: Path, MooseLua: Path, Temp: Path):
|
|||||||
# Folder where script is located
|
# Folder where script is located
|
||||||
ScriptDir=Temp / "l10n/DEFAULT/"
|
ScriptDir=Temp / "l10n/DEFAULT/"
|
||||||
|
|
||||||
|
# Check if that directory exists! GRP-600 - Respawn.miz was errorrous!
|
||||||
|
if not ScriptDir.is_dir():
|
||||||
|
print(f"WARNING: {ScriptDir.name} does not exit!")
|
||||||
|
return
|
||||||
|
|
||||||
# Script file.
|
# Script file.
|
||||||
ScriptFile=ScriptDir / Path(f.stem + ".lua")
|
ScriptFile=ScriptDir / Path(f.stem + ".lua")
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user