Skip to content

Commit 8b525dc

Browse files
refactor: rename options for linting
1 parent b4d8a23 commit 8b525dc

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

client/main.lua

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -135,9 +135,9 @@ local function RegisterApartmentEntranceTarget(apartmentID, apartmentData)
135135
return
136136
end
137137

138-
local options = {}
138+
local MenuOptions = {}
139139
if apartmentID == ClosestHouse and IsOwned then
140-
options = {
140+
MenuOptions = {
141141
{
142142
type = 'client',
143143
event = 'apartments:client:EnterApartment',
@@ -146,7 +146,7 @@ local function RegisterApartmentEntranceTarget(apartmentID, apartmentData)
146146
},
147147
}
148148
else
149-
options = {
149+
MenuOptions = {
150150
{
151151
type = 'client',
152152
event = 'apartments:client:UpdateApartment',
@@ -155,7 +155,7 @@ local function RegisterApartmentEntranceTarget(apartmentID, apartmentData)
155155
}
156156
}
157157
end
158-
options[#options + 1] = {
158+
MenuOptions[#MenuOptions + 1] = {
159159
type = 'client',
160160
event = 'apartments:client:DoorbellMenu',
161161
icon = 'fas fa-concierge-bell',
@@ -169,7 +169,7 @@ local function RegisterApartmentEntranceTarget(apartmentID, apartmentData)
169169
minZ = boxData.minZ,
170170
maxZ = boxData.maxZ,
171171
}, {
172-
options = options,
172+
options = MenuOptions,
173173
distance = boxData.distance
174174
})
175175

0 commit comments

Comments
 (0)