Skip to content

Commit

Permalink
Rebase fix
Browse files Browse the repository at this point in the history
  • Loading branch information
schwiti6190 committed Jul 19, 2023
1 parent 1d0aee2 commit 302a940
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 107 deletions.
2 changes: 1 addition & 1 deletion Courseplay.lua
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ end
function Courseplay.drawHudMap(map)
if g_Courseplay.globalSettings.drawOntoTheHudMap:getValue() then
local vehicle = g_currentMission.controlledVehicle
if vehicle and vehicle:getIsEntered() and not g_gui:getIsGuiVisible() and vehicle.spec_courseplaySpec and not vehicle.spec_locomotive then
if vehicle and vehicle:getIsEntered() and not g_gui:getIsGuiVisible() and vehicle.spec_cpAIWorker and not vehicle.spec_locomotive then
SpecializationUtil.raiseEvent(vehicle, "onCpDrawHudMap", map)
end
end
Expand Down
106 changes: 0 additions & 106 deletions scripts/specializations/CourseplaySpec.lua

This file was deleted.

0 comments on commit 302a940

Please sign in to comment.