This commit is contained in:
kaetemi 2014-09-09 15:50:12 +02:00
parent f1bca534b5
commit aa97b11910

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
{