Skip to content

Commit 8af57ab

Browse files
committed
More questions on upload(), even for running missions
1 parent b1d611a commit 8af57ab

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

plugins/mission/upload.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,6 @@ async def post_upload(self, uploaded: list[discord.Attachment]):
105105
await self.channel.send("Aborted.")
106106
return
107107
await self.server.stop()
108-
if filename != await self.server.get_current_mission_file():
109-
await self._load_mission(filename)
108+
await self._load_mission(filename)
110109
if self.server.status == Status.STOPPED:
111110
await self.server.start()

0 commit comments

Comments
 (0)