This commit is contained in:
kaetemi 2014-09-09 15:50:12 +02:00
parent 17bd017ac4
commit 28bc78b6c5

View file

@ -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
{