Skip to content

Commit

Permalink
Fixed not getting calls in MDT
Browse files Browse the repository at this point in the history
Temp fix
  • Loading branch information
MonkeyWhisper authored Jul 25, 2022
1 parent a7c2420 commit f458ecd
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions server/main.lua
Original file line number Diff line number Diff line change
Expand Up @@ -106,12 +106,7 @@ RegisterNetEvent('mdt:server:openMDT', function()

local JobType = GetJobType(PlayerData.job.name)
local bulletin = GetBulletins(JobType)
if isDispatchRunning then
local calls = exports['ps-dispatch']:GetDispatchCalls()
else
local calls = {}
end

local calls = exports['ps-dispatch']:GetDispatchCalls()
--TriggerClientEvent('mdt:client:dashboardbulletin', src, bulletin)
TriggerClientEvent('mdt:client:open', src, bulletin, activeUnits, calls, PlayerData.citizenid)
--TriggerClientEvent('mdt:client:GetActiveUnits', src, activeUnits)
Expand Down

0 comments on commit f458ecd

Please sign in to comment.