From 7348f5eb6e7445eea42a9ff9b2b1251be295b076 Mon Sep 17 00:00:00 2001 From: Birunthan Mohanathas Date: Sun, 7 Oct 2012 22:42:20 +0300 Subject: [PATCH] Script: Fixed with DynamicVariables --- Library/MeasureScript.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Library/MeasureScript.cpp b/Library/MeasureScript.cpp index 19286ef4..fd33ca31 100644 --- a/Library/MeasureScript.cpp +++ b/Library/MeasureScript.cpp @@ -169,6 +169,11 @@ void CMeasureScript::ReadOptions(CConfigParser& parser, const WCHAR* section) return; } } + else if (m_LuaScript.IsInitialized()) + { + // Already initialized. + return; + } } LogWithArgs(LOG_ERROR, L"Script: File not valid in [%s]", m_Name.c_str());