From 2ce893af73e49e8f6a9d60a4dbbdc39f8046ffae Mon Sep 17 00:00:00 2001 From: guava Date: Sat, 27 May 2017 09:15:05 +0200 Subject: [PATCH] sessionmanager for fxs --- resources/[system]/sessionmanager/server/host_lock.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resources/[system]/sessionmanager/server/host_lock.lua b/resources/[system]/sessionmanager/server/host_lock.lua index 1a71da4..5121404 100644 --- a/resources/[system]/sessionmanager/server/host_lock.lua +++ b/resources/[system]/sessionmanager/server/host_lock.lua @@ -22,7 +22,7 @@ AddEventHandler('hostingSession', function() end -- if the current host was last contacted less than a second ago - if GetHostId() >= 1 then + if GetHostId() then if GetPlayerLastMsg(GetHostId()) < 1000 then TriggerClientEvent('sessionHostResult', source, 'conflict')