mirror of
https://github.com/JezuzLizard/Recompilable-gscs-for-BO2-zombies-and-multiplayer.git
synced 2025-06-30 20:47:54 -05:00
checked 54 patch_mp/maps/mp scripts
This commit is contained in:
@ -1,15 +1,18 @@
|
||||
//checked includes match cerberus output
|
||||
#include maps/mp/_utility;
|
||||
|
||||
music_init()
|
||||
music_init() //checked matches cerberus output
|
||||
{
|
||||
/*
|
||||
/#
|
||||
assert( level.clientscripts );
|
||||
#/
|
||||
*/
|
||||
level.musicstate = "";
|
||||
registerclientsys( "musicCmd" );
|
||||
}
|
||||
|
||||
setmusicstate( state, player )
|
||||
setmusicstate( state, player ) //checked changed to match cerberus output
|
||||
{
|
||||
if ( isDefined( level.musicstate ) )
|
||||
{
|
||||
@ -18,12 +21,9 @@ setmusicstate( state, player )
|
||||
setclientsysstate( "musicCmd", state, player );
|
||||
return;
|
||||
}
|
||||
else
|
||||
else if ( level.musicstate != state )
|
||||
{
|
||||
if ( level.musicstate != state )
|
||||
{
|
||||
setclientsysstate( "musicCmd", state );
|
||||
}
|
||||
setclientsysstate( "musicCmd", state );
|
||||
}
|
||||
}
|
||||
level.musicstate = state;
|
||||
|
Reference in New Issue
Block a user