ViolLua.Fullupdate = { 
    Updating = false
}

function ViolLua.Fullupdate:Update( )
    -- This is a simple fix to an issue caused by primarly zxcmodule but may
    -- also popup in other modules aswell. It will crash you when you full update
    -- and attempt to get client information the same tick.

    self.Updating = true 

    timer.Simple( 0, function( )
        self.Updating = false
    end )
end

function ViolLua.Fullupdate:IsUpdating( )
    return self.Updating
end

gameevent.Listen( 'OnRequestFullUpdate' )

ViolLua.Hooks:New( 'OnRequestFullUpdate', ViolLua.Fullupdate.Update, ViolLua.Fullupdate )