Skip to content

Commit

Permalink
easytime - remove uneeded code
Browse files Browse the repository at this point in the history
  • Loading branch information
RampBST committed Dec 18, 2021
1 parent c1f545b commit 34a2e0c
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions server/server.lua
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,6 @@ AddEventHandler('cd_easytime:ForceUpdate', function(data)
end
TriggerClientEvent('cd_easytime:ForceUpdate', -1, data)
if data.tsunami ~= nil and Config.TsunamiWarning then
self.tsunami = data.tsunami
TriggerClientEvent('cd_easytime:StartTsunamiCountdown', -1, data.tsunami)
end
else
Expand All @@ -134,7 +133,6 @@ local function LoadSettings()
self.freeze = settings.freeze or false
self.instanttime = settings.instanttime or false
self.instantweather = settings.instantweather or false
self.tsunami = false
print('^3['..resource_name..'] - Saved settings applied.^0')
if Config.Framework ~= 'vrp' or Config.Framework ~= 'aceperms' then
Wait(2000)
Expand Down Expand Up @@ -277,7 +275,6 @@ end)
RegisterServerEvent('cd_easytime:StartTsunamiCountdown')
AddEventHandler('cd_easytime:StartTsunamiCountdown', function(boolean)
if not Config.TsunamiWarning then return end
self.tsunami = boolean
TriggerClientEvent('cd_easytime:StartTsunamiCountdown', -1, boolean)
end)

Expand Down

0 comments on commit 34a2e0c

Please sign in to comment.