Quantcast
WoWInterface - View Single Post - Code share: Perfect AFK Timer (CPU friendly with excellent accuracy)
View Single Post
09-17-15, 08:58 PM   #2
MunkDev
A Scalebane Royal Guard
 
MunkDev's Avatar
AddOn Author - Click to view addons
Join Date: Mar 2015
Posts: 429
Haven't tested this code snippet, but at a first glance I noticed you named the frame "Frame".
Even though it's just an example, consider changing that name to something more distinguished.

Lua Code:
  1. local f  = AdvancedGameTimer or CreateFrame("Frame", "AdvancedGameTimer", UIParent)
__________________
  Reply With Quote