Skip to content

Commit

Permalink
TOO SOON DONGLE! YOU'RE CALLING MY ENABLE TOO SOON!
Browse files Browse the repository at this point in the history
 - Okey, so it's actually calling it twice... but I thought it was funny, fuck you
  • Loading branch information
tekkub committed Apr 28, 2008
1 parent 5848953 commit 25323d3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions TourGuide.lua
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ end


function TourGuide:Enable()
self.Enable = nil -- Dongle likes to call Enable multiple times if we bug LightHeaded... so we need to nil out to ensure we are only called once
if TomTom and TomTom.version ~= "SVN" and (tonumber(TomTom.version) or 0) < 120 then self:Print("Your version of TomTom is out of date. TourGuide waypoints may not work correctly.") end

for _,event in pairs(self.TrackEvents) do self:RegisterEvent(event) end
Expand Down

0 comments on commit 25323d3

Please sign in to comment.