Github Ticket #361
This commit is contained in:
@@ -15,6 +15,10 @@
|
||||
_detalhes.APIVersion = _detalhes.realversion --core version
|
||||
_detalhes.version = _detalhes.userversion .. " (core " .. _detalhes.realversion .. ")" --simple stirng to show to players
|
||||
|
||||
function _detalhes:GetCoreVersion()
|
||||
return _detalhes.realversion
|
||||
end
|
||||
|
||||
_detalhes.BFACORE = 131 --core version on BFA launch
|
||||
_detalhes.SHADOWLANDSCORE = 143 --core version on Shadowlands launch
|
||||
--
|
||||
@@ -510,7 +514,9 @@ do
|
||||
if (Details.debug) then
|
||||
Details:Msg("Safe run failed:", executionName, errorText)
|
||||
end
|
||||
return false
|
||||
end
|
||||
return true
|
||||
end
|
||||
|
||||
--> tooltip
|
||||
|
||||
+302
-548
File diff suppressed because it is too large
Load Diff
@@ -967,6 +967,16 @@ function SlashCmdList.DETAILS (msg, editbox)
|
||||
end
|
||||
|
||||
--> debug
|
||||
elseif (command == "debugnet") then
|
||||
if (_detalhes.debugnet) then
|
||||
_detalhes.debugnet = false
|
||||
print(Loc["STRING_DETAILS1"] .. "net diagnostic mode has been turned off.")
|
||||
return
|
||||
else
|
||||
_detalhes.debugnet = true
|
||||
print(Loc["STRING_DETAILS1"] .. "net diagnostic mode has been turned on.")
|
||||
end
|
||||
|
||||
elseif (command == "debug") then
|
||||
if (_detalhes.debug) then
|
||||
_detalhes.debug = false
|
||||
|
||||
Reference in New Issue
Block a user