Fix casette queue text

This commit is contained in:
Jens Pitkänen 2020-04-21 02:56:36 +03:00
parent 2b95d1f68b
commit f550b2838a

View File

@ -7,7 +7,7 @@ public class CasettePickup : MonoBehaviour {
public AudioClip[] Clips;
public string DisplayPrompt {
get {
return Playing ? "Queue casette" : "Play casette";
return (PreviousInQueue != null && PreviousInQueue.Playing) ? "Queue casette" : "Play casette";
}
}
public bool Playing {