mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-01-19 20:24:49 +00:00
We don't want to be generating autosaves of the default and template levels as that can just cause weirdness.
This commit is contained in:
parent
6ffa5fe265
commit
8b7629d679
|
|
@ -455,6 +455,10 @@ function EditorAutoSaveMission()
|
|||
|
||||
AssetBackupListArray.empty();
|
||||
|
||||
%scenePath = makeFullPath(getRootScene().getFileName());
|
||||
if(startsWith(%scenePath, "tools/levels/")
|
||||
return false;
|
||||
|
||||
//Next, we figure out what all we're planning to save
|
||||
%terrainObjects = getRootScene().getObjectsByClass("TerrainBlock", false);
|
||||
for(%i=0; %i < getWordCount(%terrainObjects); %i++)
|
||||
|
|
|
|||
Loading…
Reference in a new issue