Fix erroneous error message

This commit is contained in:
Jens Pitkänen 2019-08-22 00:16:24 +03:00
parent 2438624d4c
commit 81b8f13723
2 changed files with 2 additions and 2 deletions

View File

@ -22,7 +22,7 @@ namespace Saltosion.OneWeapon.Audio {
public class MusicPlayer : MonoBehaviour {
private static MusicPlayer Singleton;
private static int SingletonSceneIndex;
private static int SingletonSceneIndex = -1;
[Header("Audio files")]
public AudioClip[] MusicClips;

View File

@ -9,7 +9,7 @@ namespace Saltosion.OneWeapon.Effects {
public class DebrisLauncher : MonoBehaviour {
private static DebrisLauncher Singleton;
private static int SingletonSceneIndex;
private static int SingletonSceneIndex = -1;
public GameObject StructuralParticlePrefab;
public GameObject WoodParticlePrefab;