mirror of
https://codeberg.org/demostf/parser.git
synced 2026-06-04 02:24:12 +02:00
store last medic target
This commit is contained in:
parent
42b63cc7eb
commit
e303969606
4 changed files with 23 additions and 16 deletions
|
|
@ -108,6 +108,7 @@ pub enum PlayerClassData {
|
|||
charge: u8,
|
||||
medigun: MedigunType,
|
||||
target: Option<EntityId>,
|
||||
last_target: Option<EntityId>,
|
||||
},
|
||||
Spy {
|
||||
disguise_team: Team,
|
||||
|
|
@ -123,6 +124,7 @@ impl PlayerClassData {
|
|||
charge: 0,
|
||||
medigun: MedigunType::Uber,
|
||||
target: None,
|
||||
last_target: None,
|
||||
},
|
||||
Class::Spy => PlayerClassData::Spy {
|
||||
disguise_team: Team::Other,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue