dependabot/npm_and_yarn/react-scripts-4.0.3
Rawrington 4 years ago
parent b9eae69630
commit 7836d6775d
  1. 6
      src/App.js

@ -39,10 +39,6 @@ export default function App() {
})
}
const isValidAction = (action) => { //seperate this out to make the condition readable later
return ((9 <= action <= 20000) || (100001 <= action <= 100300))
}
if (logSplit.length === 1 && logSplit[0].charID) {
selfId = logSplit[0].charID
openNewEncounter()
@ -86,7 +82,7 @@ export default function App() {
const action = parseInt(logParameter3, 16)
if (
isValidAction(action) ||
!((9 <= action <= 20000) || (100001 <= action <= 100300)) ||
(logTimestamp === lastTimestamp && action === lastAction)
)
return

Loading…
Cancel
Save