Fixes after testing.
This commit is contained in:
parent
47822bbdec
commit
cd33c35974
4 changed files with 92 additions and 16 deletions
|
@ -114,14 +114,4 @@ static void Initializing_Exit(StateMachineContext_T * context)
|
|||
uint8_t weapon_ID = NERF_LASER_STRIKE_BLASTER_ID;
|
||||
(void) SETTINGS_set_uint8_t(SYSTEMK_SETTING_WEAPONID, weapon_ID);
|
||||
(void) SETTINGS_Save();
|
||||
|
||||
//! \todo TEAM_PURPLE is always one-hit kill.
|
||||
uint8_t team_ID;
|
||||
(void) SETTINGS_get_uint8_t(SYSTEMK_SETTING_TEAMID, &team_ID);
|
||||
TeamID_t my_common_team_ID = Resolve_Common_Team_ID(team_ID);
|
||||
|
||||
if (my_common_team_ID == TEAM_PURPLE)
|
||||
{
|
||||
Set_Health(10);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue