diff --git a/sources/Players/EPlayer.uc b/sources/Players/EPlayer.uc index 7b0217d..b098478 100644 --- a/sources/Players/EPlayer.uc +++ b/sources/Players/EPlayer.uc @@ -141,6 +141,18 @@ public function bool SameAs(EInterface other) return (controller.Get() == otherController.Get()); } +/** + * Returns color of the caller `EPlayer`'s current team. + * + * Such color is supposed to be defined even for a single-team modes. + * + * @return `Color` structure with the `EPlayer`'s current color. + */ +public final function Color GetTeamColor() +{ + return _.color.Red; +} + /** * Returns location of the caller `EPlayer`. *