From 1483f3363c3de17679d29b0f8eac33997563be1c Mon Sep 17 00:00:00 2001 From: Mycroft Date: Mon, 5 Apr 2021 22:26:15 +0100 Subject: [PATCH] Fixes for fixes --- config.lua | 1 - server/main.lua | 2 -- 2 files changed, 3 deletions(-) diff --git a/config.lua b/config.lua index 3bd35f42..2c21e317 100644 --- a/config.lua +++ b/config.lua @@ -9,7 +9,6 @@ Config.EnableCommands = true -- Changes the identifiers from Rockstar License To Steam. In order to use this, you will have to have -- made edits to your ESX in order to use Steam identifiers all around, because new ESX uses Rockstar -- license. I just made it easier for people that convert to steam identifiers. -Config.UseSteamID = false -- [Config.UseDeferrals] -- EXPERIMENTAL Character Registration Method. This will allow players to create identities in deferrals diff --git a/server/main.lua b/server/main.lua index 9e560d27..507b507d 100644 --- a/server/main.lua +++ b/server/main.lua @@ -15,7 +15,6 @@ if Config.UseDeferrals then break end end - end if identifier then MySQL.Async.fetchAll('SELECT firstname, lastname, dateofbirth, sex, height FROM users WHERE identifier = @identifier', { @@ -120,7 +119,6 @@ elseif not Config.UseDeferrals then break end end - end if identifier then MySQL.Async.fetchAll('SELECT firstname, lastname, dateofbirth, sex, height FROM users WHERE identifier = @identifier', {