r14655 - branches/Ace2/TBC/Ace2/AceAddon-2.0

0 views
Skip to first unread message

ace...@svn.wowace.com

unread,
Oct 21, 2006, 11:16:09 AM10/21/06
to clad...@gmail.com, wow...@googlegroups.com
Author: ckknight
Date: 2006-10-21 11:15:53 -0400 (Sat, 21 Oct 2006)
New Revision: 14655

Modified:
branches/Ace2/TBC/Ace2/AceAddon-2.0/AceAddon-2.0.lua
Log:
Ace2 - fixed /ace2 info

Modified: branches/Ace2/TBC/Ace2/AceAddon-2.0/AceAddon-2.0.lua
===================================================================
--- branches/Ace2/TBC/Ace2/AceAddon-2.0/AceAddon-2.0.lua 2006-10-21 15:03:17 UTC (rev 14654)
+++ branches/Ace2/TBC/Ace2/AceAddon-2.0/AceAddon-2.0.lua 2006-10-21 15:15:53 UTC (rev 14655)
@@ -653,7 +653,9 @@
func = function()
local mem, threshold = gcinfo()
print(string.format(" - |cffffff7fMemory usage [|r%.3f MiB|cffffff7f]|r", mem / 1024))
- print(string.format(" - |cffffff7fThreshold [|r%.3f MiB|cffffff7f]|r", threshold / 1024))
+ if threshold then
+ print(string.format(" - |cffffff7fThreshold [|r%.3f MiB|cffffff7f]|r", threshold / 1024))
+ end
print(string.format(" - |cffffff7fFramerate [|r%.0f fps|cffffff7f]|r", GetFramerate()))
local bandwidthIn, bandwidthOut, latency = GetNetStats()
bandwidthIn, bandwidthOut = floor(bandwidthIn * 1024), floor(bandwidthOut * 1024)

Reply all
Reply to author
Forward
0 new messages