File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Assets/MapEditor/Managers Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -134,7 +134,7 @@ private static IEnumerator SpawnPrefabsCoroutine(PrefabData[] prefabs)
134134 ProgressBarManager . SetProgressIncrement ( 1f / prefabs . Length ) ;
135135 for ( int i = 0 ; i < prefabs . Length ; i ++ )
136136 {
137- if ( sw . Elapsed . TotalSeconds > 1f )
137+ if ( sw . Elapsed . TotalSeconds > 2f )
138138 {
139139 sw . Restart ( ) ;
140140 ProgressBarManager . DisplayIncremental ( "Spawning Prefabs" , "Spawning Prefabs: " + i + " / " + prefabs . Length ) ;
@@ -156,7 +156,7 @@ private static IEnumerator ReplaceWithLoadedCoroutine(PrefabDataHolder[] prefabs
156156 ProgressBarManager . SetProgressIncrement ( 1f / prefabs . Length ) ;
157157 for ( int i = 0 ; i < prefabs . Length ; i ++ )
158158 {
159- if ( sw . Elapsed . TotalSeconds > 1f )
159+ if ( sw . Elapsed . TotalSeconds > 2f )
160160 {
161161 ProgressBarManager . DisplayIncremental ( "Replacing Prefabs" , "Spawning Prefabs: " + i + " / " + prefabs . Length ) ;
162162 yield return null ;
You can’t perform that action at this time.
0 commit comments