Update docs for multi user vehicle kill

pull/36/head
HardiReady 2018-06-10 19:34:29 +02:00
parent 646a7b3030
commit 7c67567002
3 changed files with 1 additions and 2 deletions

View File

@ -71,6 +71,7 @@
#LogVehicle (Log) #LogVehicle (Log)
## Properties ## Properties
+ shooter: `HardiReady` (string, required) - name of player who shot the vehicle + shooter: `HardiReady` (string, required) - name of player who shot the vehicle
+ additionalShooter: [`[GNC]Paolo`, `Dominik`] (array[string], required) - additional crew members of shooter vehicle
+ target: `T-100` (string, required) - name of the vehicle + target: `T-100` (string, required) - name of the vehicle
+ fraction: `BLUFOR` (enum, required) - fraction of the shooter + fraction: `BLUFOR` (enum, required) - fraction of the shooter
+ Members + Members

View File

@ -341,8 +341,6 @@ const getPlayerAndFractionFromString = (inputString) => {
undefined; undefined;
} }
console.log(name);
// do not return player for 'Error: No unit' // do not return player for 'Error: No unit'
if (name && name !== 'Error: No unit') { if (name && name !== 'Error: No unit') {
return {name: name, fraction: fraction}; return {name: name, fraction: fraction};

Binary file not shown.