ソースを参照

Merge remote-tracking branch 'refs/remotes/origin/development'

MelvMay-GG 12 年 前
コミット
4e9a65d4f3
1 ファイル変更2 行追加0 行削除
  1. 2 0
      modules/PointForceControllerToy/1/main.cs

+ 2 - 0
modules/PointForceControllerToy/1/main.cs

@@ -90,6 +90,8 @@ function PointForceControllerToy::reset( %this )
     // Start a timer throwing asteroids.
     // Start a timer throwing asteroids.
     if ( PointForceControllerToy.autoSpawnAsteroids )
     if ( PointForceControllerToy.autoSpawnAsteroids )
         %this.startTimer( "createAsteroid", 1000 );
         %this.startTimer( "createAsteroid", 1000 );
+    else
+        %this.stopTimer();        
 }
 }
 
 
 //-----------------------------------------------------------------------------
 //-----------------------------------------------------------------------------