mirror of
https://github.com/Michatec/xhud.git
synced 2026-03-31 23:46:29 +02:00
Players Online Stats added and some bugfixes
This commit is contained in:
@@ -42,7 +42,7 @@ CreateThread(function()
|
||||
end
|
||||
|
||||
local curUnderwaterTime = GetPlayerUnderwaterTimeRemaining(cache.playerId)
|
||||
if curUnderwaterTime < maxUnderwaterTime then
|
||||
if maxUnderwaterTime and curUnderwaterTime < maxUnderwaterTime then
|
||||
SendMessage('setOxygen', {
|
||||
current = curUnderwaterTime,
|
||||
max = maxUnderwaterTime
|
||||
|
||||
Reference in New Issue
Block a user