View Single Post
01-13-18, 05:53 PM   #8
lightspark
A Rage Talon Dragon Guard
 
lightspark's Avatar
AddOn Author - Click to view addons
Join Date: Sep 2012
Posts: 341
Hm, given that your for loop isn't inside of any function, it means that your file is read more than once.

Are you sure that it isn't referred in an xml file or somewhere else more than once?

Code:
<Ui xmlns="http://www.blizzard.com/wow/ui/">
	<Script file="file.lua"/>
	<Script file="file.lua"/>
</Ui>
The content of file.lua will be read twice in this case, and everything executable/callable will be executed/called twice as well.
__________________

Last edited by lightspark : 01-13-18 at 06:07 PM.
  Reply With Quote