Fix tec counter #162
File diff suppressed because one or more lines are too long
@ -27,7 +27,7 @@ const count_item_occupied_hp = (item) => {
|
||||
}
|
||||
|
||||
const count_item_occupied_tec = (item) => {
|
||||
return (item.options_data && item.options_data.tec === false) ? 0 : (item.consumes && item.consumes.tec);
|
||||
return (item.options_data && item.options_data.tec === false) ? 0 : ((item.consumes && item.consumes.tec) || 0);
|
||||
}
|
||||
|
||||
export const item_occupied_counters = {
|
||||
|
Loading…
Reference in New Issue
Block a user