Skip to content

Commit

Permalink
Options: Add safeguard
Browse files Browse the repository at this point in the history
  • Loading branch information
Justw8 committed Aug 29, 2024
1 parent fbeb355 commit f7e4f13
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Options.lua
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ local defaultsDB = {

-- Get all options and verify them
local function getOptions()
local db = TeleportMenuDB
local db = TeleportMenuDB or {}
for k, v in pairs(db) do
if defaultsDB[k] == nil then
db[k] = nil
Expand Down

0 comments on commit f7e4f13

Please sign in to comment.