Now uses "Client" instead of "Player" slots for single-player

This commit is contained in:
Ambroise Garel
2025-08-05 17:38:14 +02:00
parent c3ecc403e2
commit 4232ee723c
5 changed files with 19 additions and 24 deletions
+4 -5
View File
@@ -205,12 +205,11 @@ do
end
end
if TUM.settings.getValue(TUM.settings.id.MULTIPLAYER) then return end
-- if TUM.settings.getValue(TUM.settings.id.MULTIPLAYER) then return end
-- When player dies in single-player, fail the mission
if event.id == world.event.S_EVENT_CRASH or event.id == world.event.S_EVENT_EJECTION or event.id == world.event.S_EVENT_PILOT_DEAD then
TUM.mission.endMission(TUM.mission.endCause.FAILED)
end
-- if event.id == world.event.S_EVENT_CRASH or event.id == world.event.S_EVENT_EJECTION or event.id == world.event.S_EVENT_PILOT_DEAD then
-- TUM.mission.endMission(TUM.mission.endCause.FAILED)
-- end
end
function TUM.mission.playMissionSummaryRadioMessage(onlyShowIncomplete, delayed)