PDA

View Full Version : Use of DataCommon Arrays



damned
July 22nd, 2020, 23:52
Hi good peoples. I made a silly error in an extension over the last couple of days.
The error was including some data in a Lua script. That was all fine except that I declared the script as DataCommon

<script name="DataCommon" file="scripts/data_common.lua" />
The DataCommon popsup in a few rulesets and other extensions so my extension was breaking functionality in those other rulesets and extensions.

Obviously the fix is easy - rename it as
<script name="DataCommonExpress" file="scripts/data_common.lua" />

Just another (of many) Doh! moments... :bandit: