Fix for realms with spaces and pets
This commit is contained in:
+1
-1
@@ -1,4 +1,4 @@
|
||||
## Interface: 100107
|
||||
## Interface: 100200
|
||||
## Title: Details! Damage Meter
|
||||
## Notes: Essential tool to impress that chick in your raid.
|
||||
## SavedVariables: _detalhes_global, __details_backup
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
## Interface: 11403
|
||||
## Interface: 11404
|
||||
## Title: Details! Damage Meter
|
||||
## Notes: Essential tool to impress that chick in your raid.
|
||||
## SavedVariables: _detalhes_global, __details_backup
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
## Interface: 30402
|
||||
## Interface: 30403
|
||||
## Title: Details! Damage Meter
|
||||
## Notes: Essential tool to impress that chick in your raid.
|
||||
## SavedVariables: _detalhes_global, __details_backup
|
||||
|
||||
+1
-1
@@ -6108,7 +6108,7 @@ local SPELL_POWER_PAIN = SPELL_POWER_PAIN or (PowerEnum and PowerEnum.Pain) or 1
|
||||
|
||||
local _, _, _, toc = GetBuildInfo()
|
||||
if (toc >= 100200) then
|
||||
Details.playername = UnitName("player") .. "-" .. GetRealmName()
|
||||
Details.playername = UnitName("player") .. "-" .. (GetRealmName():gsub("%s", ''))
|
||||
else
|
||||
Details.playername = UnitName("player")
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user