Skip to content

Commit

Permalink
fix: player modal not opening from server log page
Browse files Browse the repository at this point in the history
  • Loading branch information
tabarra committed Feb 23, 2022
1 parent 3044eeb commit c32f4aa
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion fxmanifest.lua
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
author 'Tabarra'
description 'Remotely Manage & Monitor your GTA5 FiveM Server'
repository 'https://github.com/tabarra/txAdmin'
version '4.13.0'
version '4.13.1'
ui_label 'txAdmin'

rdr3_warning 'I acknowledge that this is a prerelease build of RedM, and I am aware my resources *will* become incompatible once RedM ships.'
Expand Down
1 change: 1 addition & 0 deletions scripts/menu/client/cl_base.lua
Original file line number Diff line number Diff line change
Expand Up @@ -128,6 +128,7 @@ end)
-- Will toggle debug logging
RegisterNetEvent('txAdmin:events:setDebugMode', function(enabled)
isMenuDebug = enabled
debugModeEnabled = enabled
sendMenuMessage('setDebugMode', isMenuDebug)
end)

Expand Down
2 changes: 1 addition & 1 deletion scripts/menu/shared.lua
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ function debugPrint(...)
local appendedStr = ''
if debugModeEnabled then
for _, v in ipairs(args) do
appendedStr = appendedStr .. ' ' .. tostring(v)
appendedStr = appendedStr .. ' ' .. (type(v)=="table" and json.encode(v) or tostring(v))
end
local msgTemplate = '^3[txAdminMenu]^0%s^0'
local msg = msgTemplate:format(appendedStr)
Expand Down
2 changes: 1 addition & 1 deletion src/components/fxRunner/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ const OutputHandler = require('./outputHandler');

const { customAlphabet } = require('nanoid/non-secure');
const dict51 = require('nanoid-dictionary/nolookalikes');
const genMutex = customAlphabet(dict51, 8);
const genMutex = customAlphabet(dict51, 5);


//Helpers
Expand Down

0 comments on commit c32f4aa

Please sign in to comment.