null check
This commit is contained in:
parent
6b01de0095
commit
1abfcc0042
@ -183,6 +183,8 @@ namespace NEG.UI
|
|||||||
|
|
||||||
while (popupsToShow.TryDequeue(out var d, out int p))
|
while (popupsToShow.TryDequeue(out var d, out int p))
|
||||||
{
|
{
|
||||||
|
if(d == null)
|
||||||
|
continue;
|
||||||
if(!d.IsValid)
|
if(!d.IsValid)
|
||||||
continue;
|
continue;
|
||||||
if(d == currentShownPopup.data)
|
if(d == currentShownPopup.data)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user