oops, fixup
This commit is contained in:
@@ -140,11 +140,9 @@ void LuaReference::Unregister()
|
||||
|
||||
bool LuaReference::SetFromExpression( const RString &sExpression )
|
||||
{
|
||||
RString sFullExpression = "return " + sExpression;
|
||||
if( GetName().empty() )
|
||||
{
|
||||
RString sFullExpression = "return " + sExpression;
|
||||
SetName( sFullExpression );
|
||||
}
|
||||
|
||||
Lua *L = LUA->Get();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user