Browse Source

Fixed NinjaSnowWar lightflash objects remaining in the scene indefinitely.

Lasse Öörni 14 years ago
parent
commit
d220b3aa89
1 changed files with 1 additions and 0 deletions
  1. 1 0
      Bin/Data/Scripts/NinjaSnowWar/LightFlash.as

+ 1 - 0
Bin/Data/Scripts/NinjaSnowWar/LightFlash.as

@@ -4,6 +4,7 @@ class LightFlash : GameObject
 {
 {
     LightFlash()
     LightFlash()
     {
     {
+        duration = 2.0;
     }
     }
 
 
     void FixedUpdate(float timeStep)
     void FixedUpdate(float timeStep)