mirror of
https://github.com/weltensturm/wac.git
synced 2025-03-04 03:02:59 -05:00
fix seat connector clientside init
This commit is contained in:
parent
33450b9c8f
commit
7aa6e6e19c
@ -3,10 +3,16 @@ include("shared.lua")
|
||||
|
||||
|
||||
function ENT:Initialize()
|
||||
self.isInitialized = true
|
||||
self.seats = {}
|
||||
self.passengers = {}
|
||||
end
|
||||
|
||||
function ENT:Think()
|
||||
if not self.isInitialized then
|
||||
self:Initialize()
|
||||
end
|
||||
end
|
||||
|
||||
wac.hook("wacKey", "wac_seatswitcher_input", function(key, pressed)
|
||||
if not pressed or vgui.CursorVisible() then return end
|
||||
|
Loading…
Reference in New Issue
Block a user