diff --git a/Engine/source/sfx/sfxDescription.cpp b/Engine/source/sfx/sfxDescription.cpp index 143e0a31e..8cd93b6b2 100644 --- a/Engine/source/sfx/sfxDescription.cpp +++ b/Engine/source/sfx/sfxDescription.cpp @@ -454,7 +454,8 @@ bool SFXDescription::onAdd() const char* channelValue = getDataField( sChannel, NULL ); if( channelValue && channelValue[ 0 ] ) { - const char* group = Con::evaluatef( "return sfxOldChannelToGroup( %s );", channelValue ); + ConsoleValue result = Con::evaluatef( "return sfxOldChannelToGroup( %s );", channelValue ); + const char* group = result.getString(); if( !Sim::findObject( group, mSourceGroup ) ) Con::errorf( "SFXDescription::onAdd - could not resolve channel '%s' to SFXSource", channelValue ); }