Crashfix
This commit is contained in:
parent
17bd017ac4
commit
28bc78b6c5
1 changed files with 2 additions and 2 deletions
|
@ -2871,7 +2871,7 @@ NLMISC_CATEGORISED_DYNVARIABLE(mirror, sint32, MainNbEntities, "Number of online
|
|||
// We can only read the value
|
||||
if ( get )
|
||||
{
|
||||
if ( MirrorInstance->mirrorIsReady() )
|
||||
if ( MirrorInstance && MirrorInstance->mirrorIsReady() )
|
||||
{
|
||||
try
|
||||
{
|
||||
|
@ -2892,7 +2892,7 @@ NLMISC_CATEGORISED_DYNVARIABLE(mirror, sint32, LocalEntities, "Number of online
|
|||
// We can only read the value
|
||||
if ( get )
|
||||
{
|
||||
if ( MirrorInstance->mirrorIsReady() )
|
||||
if ( MirrorInstance && MirrorInstance->mirrorIsReady() )
|
||||
{
|
||||
try
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue