maint: re-active now working functions
parent
264ccf04c6
commit
3d77486b50
|
@ -684,7 +684,7 @@ spawnPlayer()
|
||||||
|
|
||||||
prof_end( "spawnPlayer_postUTS" );
|
prof_end( "spawnPlayer_postUTS" );
|
||||||
|
|
||||||
//self logstring( "S " + self.origin[0] + " " + self.origin[1] + " " + self.origin[2] );
|
self logstring( "S " + self.origin[0] + " " + self.origin[1] + " " + self.origin[2] );
|
||||||
|
|
||||||
// give "connected" handlers a chance to start
|
// give "connected" handlers a chance to start
|
||||||
// many of these start onPlayerSpawned handlers which rely on the "spawned_player"
|
// many of these start onPlayerSpawned handlers which rely on the "spawned_player"
|
||||||
|
|
|
@ -490,7 +490,7 @@ onUse( player )
|
||||||
oldTeam = self maps\mp\gametypes\_gameobjects::getOwnerTeam();
|
oldTeam = self maps\mp\gametypes\_gameobjects::getOwnerTeam();
|
||||||
label = self maps\mp\gametypes\_gameobjects::getLabel();
|
label = self maps\mp\gametypes\_gameobjects::getLabel();
|
||||||
|
|
||||||
//player logString( "flag captured: " + self.label );
|
player logString( "flag captured: " + self.label );
|
||||||
|
|
||||||
self.captureTime = getTime();
|
self.captureTime = getTime();
|
||||||
|
|
||||||
|
|
|
@ -566,7 +566,7 @@ onUsePlantObject( player )
|
||||||
if ( !self maps\mp\gametypes\_gameobjects::isFriendlyTeam( player.pers["team"] ) )
|
if ( !self maps\mp\gametypes\_gameobjects::isFriendlyTeam( player.pers["team"] ) )
|
||||||
{
|
{
|
||||||
level thread bombPlanted( self, player );
|
level thread bombPlanted( self, player );
|
||||||
//player logString( "bomb planted: " + self.label );
|
player logString( "bomb planted: " + self.label );
|
||||||
|
|
||||||
// disable all bomb zones except this one
|
// disable all bomb zones except this one
|
||||||
for ( index = 0; index < level.bombZones.size; index++ )
|
for ( index = 0; index < level.bombZones.size; index++ )
|
||||||
|
@ -600,7 +600,7 @@ onUsePlantObject( player )
|
||||||
onUseDefuseObject( player )
|
onUseDefuseObject( player )
|
||||||
{
|
{
|
||||||
player notify ( "bomb_defused" );
|
player notify ( "bomb_defused" );
|
||||||
//player logString( "bomb defused: " + self.label );
|
player logString( "bomb defused: " + self.label );
|
||||||
level thread bombDefused();
|
level thread bombDefused();
|
||||||
|
|
||||||
// disable this bomb zone
|
// disable this bomb zone
|
||||||
|
|
Loading…
Reference in New Issue