File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -135,9 +135,9 @@ local function RegisterApartmentEntranceTarget(apartmentID, apartmentData)
135
135
return
136
136
end
137
137
138
- local options = {}
138
+ local MenuOptions = {}
139
139
if apartmentID == ClosestHouse and IsOwned then
140
- options = {
140
+ MenuOptions = {
141
141
{
142
142
type = ' client' ,
143
143
event = ' apartments:client:EnterApartment' ,
@@ -146,7 +146,7 @@ local function RegisterApartmentEntranceTarget(apartmentID, apartmentData)
146
146
},
147
147
}
148
148
else
149
- options = {
149
+ MenuOptions = {
150
150
{
151
151
type = ' client' ,
152
152
event = ' apartments:client:UpdateApartment' ,
@@ -155,7 +155,7 @@ local function RegisterApartmentEntranceTarget(apartmentID, apartmentData)
155
155
}
156
156
}
157
157
end
158
- options [ # options + 1 ] = {
158
+ MenuOptions [ # MenuOptions + 1 ] = {
159
159
type = ' client' ,
160
160
event = ' apartments:client:DoorbellMenu' ,
161
161
icon = ' fas fa-concierge-bell' ,
@@ -169,7 +169,7 @@ local function RegisterApartmentEntranceTarget(apartmentID, apartmentData)
169
169
minZ = boxData .minZ ,
170
170
maxZ = boxData .maxZ ,
171
171
}, {
172
- options = options ,
172
+ options = MenuOptions ,
173
173
distance = boxData .distance
174
174
})
175
175
You can’t perform that action at this time.
0 commit comments