fix script loading
move @expression evaluation into LuaManager (LuaManager::RunAtExpression) evaluate string command parameters
This commit is contained in:
@@ -33,7 +33,9 @@ Command::Arg Command::GetArg( unsigned index ) const
|
||||
|
||||
Command::Arg::operator CString ()
|
||||
{
|
||||
return s;
|
||||
CString sValue = s;
|
||||
LUA->RunAtExpression( sValue );
|
||||
return sValue;
|
||||
}
|
||||
|
||||
Command::Arg::operator float ()
|
||||
|
||||
Reference in New Issue
Block a user