mirror of
https://github.com/chibicitiberiu/rainmeter-studio.git
synced 2024-02-24 04:33:31 +00:00
Script: ScriptFile may now be a relative path (e.g. ScriptFile=File.lua is now valid and equal to ScriptFile=#CURRENTPATH#File.lua)
This commit is contained in:
@ -98,7 +98,7 @@ bool LuaScript::IsFunction(const char* funcName)
|
||||
{
|
||||
bool bExists = false;
|
||||
|
||||
if (m_Initialized && funcName)
|
||||
if (m_Initialized)
|
||||
{
|
||||
// Push our table onto the stack
|
||||
PushTable();
|
||||
@ -244,4 +244,4 @@ void LuaScript::RunString(const char* str)
|
||||
//
|
||||
// //lua_pop(m_pLuaScript->GetState(), 1);
|
||||
//}
|
||||
//
|
||||
//
|
||||
|
Reference in New Issue
Block a user