Skip to content
This repository has been archived by the owner on Sep 7, 2024. It is now read-only.

Commit

Permalink
fix: eew intensity site effect
Browse files Browse the repository at this point in the history
  • Loading branch information
Fonger committed May 2, 2024
1 parent d112f60 commit 8a9f0ad
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/scripts/helper/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -262,7 +262,8 @@ export const calculateExpectedIntensity = (
surfaceDistance,
distance,
magnitude,
depth
depth,
town.site
);

if (int > maxIntensity) {
Expand Down

0 comments on commit 8a9f0ad

Please sign in to comment.