Skip to content

Commit

Permalink
Fixed crash in CS when dialog holder wasn't set (#392)
Browse files Browse the repository at this point in the history
  • Loading branch information
Xottab-DUTY committed Nov 13, 2023
1 parent c76215a commit 0acbcb6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/xrGame/ui/UIDialogWnd.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ bool CUIDialogWnd::IR_process()
if (!IsEnabled())
return false;

if (GetHolder()->IgnorePause())
if (GetHolder() && GetHolder()->IgnorePause())
return true;

if (Device.Paused() && !WorkInPause())
Expand Down

0 comments on commit 0acbcb6

Please sign in to comment.