Skip to content

Commit c42c2e5

Browse files
feat: remove LocalPlayer.state.isLoggedIn in showHotwiringLabel
Co-authored-by: Solareon <769465+solareon@users.noreply.github.com>
1 parent c5148aa commit c42c2e5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

client/main.lua

+1-1
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,7 @@ local function showHotwiringLabel()
177177
isHotwiring = true
178178
CreateThread(function()
179179
-- Hotwiring while in vehicle, also keeps engine off for vehicles you don't own keys to
180-
while LocalPlayer.state.isLoggedIn and cache.vehicle do
180+
while cache.vehicle do
181181
local plate = qbx.getVehiclePlate(cache.vehicle)
182182
if cache.seat == -1
183183
and not hasKeys(plate)

0 commit comments

Comments
 (0)