Found a bug after using chem
- LunaticChick
- Posts: 428
- Joined: Fri Dec 09, 2011 6:13 pm
Found a bug after using chem
Was on blastside today, got in chem with the pack on and the sensor blocker and got killed. When I re-spawned I was in my base but all the invos. said they were the enemy teams. None of our teams turrets fired at me. I controlled-K 3 times and it was the same thing until I dropped and logged back on.
Re: Found a bug after using chem
Interesting... I remember that bug way back in the day... Thought it got fixed.
Re: Found a bug after using chem
its happens but very rarely. Once or twice a year maybe.
Re: Found a bug after using chem
It's easy to fix, though. Just add two lines of code in each instance of "function Player::onKilled"
Code: Select all
function Player::onKilled(%this)
{
if($debug)
echo("Player::onKilled("@%this@")");
DebugFun("Player::onKilled",%this);
%this.Station = "";
%cl = GameBase::getOwnerClient(%this);
%cl.dead = 1;
%cl.isSpy = false;
%cl.OrigTeam = "";
---------- Find in Files ---------- wrote:> Searching for the string 'function player::onkilled'...
D:\BR\Annihilation\FlagHunter.cs(117,1): function Player::onKilled(%this)
D:\BR\Annihilation\player.cs(59,1): function Player::onKilled(%this)
> 2 occurrence(s) have been found.