main()
{
func = GetFunction( "maps/mp/zm_alcatraz_utility", "check_solo_status" );
if ( !isDefined( func ) )
{
func = GetFunction( "maps/mp/zm_tomb_utility", "check_solo_status" );
}
if ( isDefined( func ) )
{
replaceFunc( func, ::check_solo_status_override, 1 );
}
}
check_solo_status_override()
{
level.is_forever_solo_game = true;
}
Just put this in a script in scripts/zm
It works because we are just overriding the detour placed by Plutonium in the ranked.gsc by setting the priority of our replacefunc to be higher by using a value higher than -1 in the third argument.