Skip to content
This repository was archived by the owner on Apr 29, 2025. It is now read-only.

Commit b3aaa0e

Browse files
committed
feat(client): add export getClosestDoor
1 parent 7e6d36d commit b3aaa0e

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

client/main.lua

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -279,8 +279,6 @@ local function useClosestDoor()
279279
end
280280
end
281281

282-
exports('useClosestDoor', useClosestDoor)
283-
284282
CreateThread(function()
285283
local lockDoor = locale('lock_door')
286284
local unlockDoor = locale('unlock_door')
@@ -347,3 +345,6 @@ CreateThread(function()
347345
Wait(num > 0 and 0 or 500)
348346
end
349347
end)
348+
349+
exports('useClosestDoor', useClosestDoor)
350+
exports('getClosestDoor', function() return ClosestDoor end)

0 commit comments

Comments
 (0)