Skip to content

Commit 05b441e

Browse files
committed
BUGFIX:
- Missions were not modified correctly on automated restarts.
1 parent 4a469ff commit 05b441e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

plugins/scheduler/commands.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -401,7 +401,7 @@ async def _run_without_presets(self, server: Server, rconf: dict, current_missio
401401

402402
if server.status in [Status.SHUTDOWN, Status.LOADING]:
403403
self.log.debug(f"{self.__cog_name__}: Starting server {server.name}")
404-
await server.startup(modify_mission=False, use_orig=False)
404+
await server.startup(modify_mission=modify_mission, use_orig=use_orig)
405405
else:
406406
rc = await server.loadMission(
407407
current_mission,

0 commit comments

Comments
 (0)