- Fixed random generation of friendly obituaries

This commit is contained in:
player701 2019-04-29 13:11:18 +03:00 committed by Rachael Alexanderson
parent 8dbf356b73
commit a8fdaefe73

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
{