This commit is contained in:
kaetemi 2014-09-09 15:50:12 +02:00
parent 7c40248728
commit 55ca1e7a2a

View file

@ -2871,7 +2871,7 @@ NLMISC_CATEGORISED_DYNVARIABLE(mirror, sint32, MainNbEntities, "Number of online
// We can only read the value // We can only read the value
if ( get ) if ( get )
{ {
if ( MirrorInstance->mirrorIsReady() ) if ( MirrorInstance && MirrorInstance->mirrorIsReady() )
{ {
try try
{ {
@ -2892,7 +2892,7 @@ NLMISC_CATEGORISED_DYNVARIABLE(mirror, sint32, LocalEntities, "Number of online
// We can only read the value // We can only read the value
if ( get ) if ( get )
{ {
if ( MirrorInstance->mirrorIsReady() ) if ( MirrorInstance && MirrorInstance->mirrorIsReady() )
{ {
try try
{ {