mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-02-12 19:31:41 +00:00
Fix if to else if regression.
This commit is contained in:
parent
313c069ecb
commit
278bef8d1a
2 changed files with 24 additions and 1 deletions
|
|
@ -226,7 +226,7 @@ static void setFieldComponent(SimObject* object, StringTableEntry field, const c
|
|||
|
||||
if (object && field)
|
||||
prevVal = object->getDataField(field, array);
|
||||
if (currentLocalRegister != -1)
|
||||
else if (currentLocalRegister != -1)
|
||||
prevVal = gEvalState.getLocalStringVariable(currentLocalRegister);
|
||||
// Set the value on a variable.
|
||||
else if (gEvalState.currentVariable)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue