diff --git a/Assets/Scripts/InventoryStuff/ScrollDetails.cs b/Assets/Scripts/InventoryStuff/ScrollDetails.cs index 5c03486b11b10320a40f403c9d649831fb1852d4..b4e1dbdea7f4c7902f283edb633427cb0ecb5488 100644 --- a/Assets/Scripts/InventoryStuff/ScrollDetails.cs +++ b/Assets/Scripts/InventoryStuff/ScrollDetails.cs @@ -157,6 +157,10 @@ private string prepareScrollAssignments() private void readPushout(List<Scroll.ScrollFact> pushoutFacts) { FactManager factManager = cursor.GetComponent<FactManager>(); + + if(pushoutFacts.Count == 0) + PushoutFactFailEvent.Invoke(null); + for (int i = 0; i < pushoutFacts.Count; i++) { Fact newFact = ParsingDictionary.parseFactDictionary[pushoutFacts[i].getType()].Invoke(pushoutFacts[i]);