maint: re-active now working functions

pull/3/head
Diavolo 2023-04-03 13:54:58 +02:00
parent 264ccf04c6
commit 3d77486b50
No known key found for this signature in database
GPG Key ID: FA77F074E98D98A5
3 changed files with 4 additions and 4 deletions

View File

@ -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"

View File

@ -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();

View File

@ -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