Skip to content

Commit

Permalink
Fixed failing hack leaving timer/not ending hackholdingup
Browse files Browse the repository at this point in the history
  • Loading branch information
Tallerin authored Jun 10, 2019
1 parent 4c8b7d3 commit b701035
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions client/client.lua
Original file line number Diff line number Diff line change
Expand Up @@ -85,8 +85,12 @@ function opendoors(success, timeremaining)
TriggerEvent('esx_holdupbank:hackcomplete')

else
hackholdingup = false
ESX.ShowNotification(_U('hack_failed'))
print('Failure')
TriggerEvent('mhacking:hide')
secondsRemaining = 0
incircle = false
end
end

Expand Down

0 comments on commit b701035

Please sign in to comment.