mirror of
https://github.com/diamante0018/InfectedGSC.git
synced 2025-04-20 20:35:43 +00:00
Actually did something
This commit is contained in:
parent
9a94d4756c
commit
bee00d2564
@ -21,8 +21,7 @@ antiRageQuit()
|
||||
{
|
||||
wait( .5 );
|
||||
|
||||
// If it's only 2 people let them quit
|
||||
if ( level.players.size < 3 ) continue;
|
||||
if ( level.players.size < 3 ) continue; // If it's only 2 people let them quit
|
||||
|
||||
foreach ( player in level.players )
|
||||
{
|
||||
|
@ -108,8 +108,7 @@ playerModelForWeaponStub( weapon, secondary )
|
||||
return;
|
||||
}
|
||||
|
||||
// Hack for infected players
|
||||
if ( self.pers["team"] == "axis" )
|
||||
if ( self.pers["team"] == "axis" ) // Hack for infected players
|
||||
{
|
||||
if ( level.environment != "" && self isItemUnlocked( "ghillie_" + level.environment ) )
|
||||
[[game[ team + "_model" ]["GHILLIE"]]]();
|
||||
|
@ -53,8 +53,7 @@ gameEnded()
|
||||
}
|
||||
}
|
||||
|
||||
// Might need to set cg_thirdperson to false when a player spawns
|
||||
gameStart()
|
||||
gameStart() // Might need to set cg_thirdperson to false when a player spawns
|
||||
{
|
||||
gameFlagWait( "prematch_done" );
|
||||
|
||||
@ -118,8 +117,7 @@ GlowStickDamageListenerStub( owner )
|
||||
if ( !isdefined( self ) )
|
||||
return;
|
||||
|
||||
// Can only be damaged by knife
|
||||
if ( type == "MOD_MELEE" )
|
||||
if ( type == "MOD_MELEE" ) // Can only be damaged by knife
|
||||
{
|
||||
self.damageTaken += self.maxHealth;
|
||||
self.wasDamaged = true;
|
||||
@ -135,7 +133,7 @@ GlowStickDamageListenerStub( owner )
|
||||
if ( isDefined( owner ) && attacker != owner )
|
||||
{
|
||||
attacker notify ( "destroyed_insertion", owner );
|
||||
attacker notify( "destroyed_explosive" ); // count towards SitRep Pro challenge
|
||||
attacker notify( "destroyed_explosive" );
|
||||
owner thread leaderDialogOnPlayer( "ti_destroyed" );
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user