From 6107021c02e661717e0ed316e175ec9830dd6632 Mon Sep 17 00:00:00 2001 From: Lerk Date: Fri, 8 May 2020 12:30:55 +0200 Subject: [PATCH] [Fixes #17] only hide exit marker after tutorial --- client/missions/tutorial.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/client/missions/tutorial.lua b/client/missions/tutorial.lua index 4089926..2374488 100644 --- a/client/missions/tutorial.lua +++ b/client/missions/tutorial.lua @@ -49,7 +49,7 @@ function _tutorialLogic() TriggerEvent('esx_phone:addSpecialContact', omegaContact.name, omegaContact.number, omegaContact.base64Icon) numberAdded = true end - if not tutorialDone then + if not isHacker() then drawGenericMarker(Locations.CommRoom.Exit.x, Locations.CommRoom.Exit.y, Locations.CommRoom.Exit.z - 1.0001) if GetDistanceBetweenCoords(Locations.CommRoom.Exit.x, Locations.CommRoom.Exit.y, Locations.CommRoom.Exit.z, GetEntityCoords(PlayerPedId(), true)) < 2 then @@ -84,4 +84,4 @@ function _tutorialLogic() tutorialFinished = true TriggerEvent(eventNamespace .. "getNextTriggerTime") end -end \ No newline at end of file +end