File tree 1 file changed +3
-3
lines changed
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -146,7 +146,7 @@ function gui_open_frame(player)
146
146
storage_frame .destroy ()
147
147
end
148
148
global [" config-tmp" ][player .name ] = nil
149
- if remote .interfaces .YARM and global .settings [player .name ].YARM_old_expando then
149
+ if remote .interfaces .YARM and remote . interfaces . YARM . show_expando and global .settings [player .name ].YARM_old_expando then
150
150
remote .call (" YARM" , " show_expando" , player .index )
151
151
end
152
152
return
@@ -171,7 +171,7 @@ function gui_open_frame(player)
171
171
}
172
172
end
173
173
end
174
- if remote .interfaces .YARM then
174
+ if remote .interfaces .YARM and remote . interfaces . YARM . hide_expando then
175
175
global .settings [player .name ].YARM_old_expando = remote .call (" YARM" , " hide_expando" , player .index )
176
176
end
177
177
-- Now we can build the GUI.
@@ -363,7 +363,7 @@ function gui_save_changes(player, name)
363
363
if storage_frame then
364
364
storage_frame .destroy ()
365
365
end
366
- if remote .interfaces .YARM and global .settings [player .name ].YARM_old_expando then
366
+ if remote .interfaces .YARM and remote . interfaces . YARM . show_expando and global .settings [player .name ].YARM_old_expando then
367
367
remote .call (" YARM" , " show_expando" , player .index )
368
368
end
369
369
end
You can’t perform that action at this time.
0 commit comments