- Fixed random generation of friendly obituaries

This commit is contained in:
player701 2019-04-29 13:11:18 +03:00 committed by Christoph Oelckers
parent a33fae19dd
commit 32109a75a7

View file

@ -252,7 +252,7 @@ class PlayerPawn : Actor
if (victim.player != player && victim.IsTeammate(self))
{
victim = self;
return String.Format("$OB_FRIENDLY%c", random[Obituary](49, 53));
return String.Format("$OB_FRIENDLY%d", random[Obituary](1, 4));
}
else
{