mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-07-15 16:44:36 +00:00
Merge pull request #1142 from Azaezel/alpha41/spamfilter
stop spamming the console every spawnObject call
This commit is contained in:
commit
d7ca55a085
1 changed files with 1 additions and 1 deletions
|
|
@ -436,7 +436,7 @@ SimObject *spawnObject(String spawnClass, String spawnDataBlock, String spawnNam
|
||||||
|
|
||||||
// If we have a spawn script go ahead and execute it last
|
// If we have a spawn script go ahead and execute it last
|
||||||
if (spawnScript.isNotEmpty())
|
if (spawnScript.isNotEmpty())
|
||||||
Con::evaluate(spawnScript.c_str(), true);
|
Con::evaluate(spawnScript.c_str());
|
||||||
|
|
||||||
return spawnObject;
|
return spawnObject;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue