mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-03-06 14:00:39 +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
1 changed files with 4 additions and 0 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue