This commit is contained in:
JezuzLizard 2020-03-21 17:33:30 -07:00
commit b5974ffef2
3 changed files with 4 additions and 3 deletions

View File

@ -94,7 +94,7 @@ gameDelayFunctionsAndVars()
griefFunctionsAndVars() griefFunctionsAndVars()
{ {
if ( !level.scr_zm_ui_gametype_group == "zencounter" ) if ( level.scr_zm_ui_gametype_group != "zencounter" )
{ {
return; return;
} }

View File

@ -8,6 +8,7 @@
#include maps\mp\zm_buried; #include maps\mp\zm_buried;
#include maps\mp\zm_tomb; #include maps\mp\zm_tomb;
#include maps\mp\zm_nuked; #include maps\mp\zm_nuked;
#include maps\mp\zombies\_zm_utility;
init() init()
{ {
@ -75,7 +76,7 @@ spawnAllPlayers()
if ( players[ i ].sessionstate == "spectator" && isDefined( players[ i ].spectator_respawn ) ) if ( players[ i ].sessionstate == "spectator" && isDefined( players[ i ].spectator_respawn ) )
{ {
players[ i ] [[ level.spawnplayer ]](); players[ i ] [[ level.spawnplayer ]]();
if ( !level.script == "zm_tomb" || !level.script == "zm_prison" || !is_classic() ) if ( level.script != "zm_tomb" || level.script != "zm_prison" || !is_classic() )
{ {
thread maps\mp\zombies\_zm::refresh_player_navcard_hud(); thread maps\mp\zombies\_zm::refresh_player_navcard_hud();
} }

View File

@ -35,7 +35,7 @@ turn_tombstone_on()
while ( i < machine.size ) while ( i < machine.size )
{ {
machine[ i ] setmodel( level.machine_assets[ "tombstone" ].on_model ); machine[ i ] setmodel( level.machine_assets[ "tombstone" ].on_model );
machine[ i ] vibrate( vectorScale( ( 0, -1, 0 ), 100 ), 0,3, 0,4, 3 ); machine[ i ] vibrate( vectorScale( ( 0, -1, 0 ), 100 ), 0.3, 0.4, 3 );
machine[ i ] playsound( "zmb_perks_power_on" ); machine[ i ] playsound( "zmb_perks_power_on" );
machine[ i ] thread perk_fx( "tombstone_light" ); machine[ i ] thread perk_fx( "tombstone_light" );
machine[ i ] thread play_loop_on_machine(); machine[ i ] thread play_loop_on_machine();