mirror of
https://github.com/thepaperpilot/Planar-Pioneers.git
synced 2024-11-22 00:21:31 +00:00
Hide resource notifs over 100
This commit is contained in:
parent
f5f608aa29
commit
4b1428bcde
1 changed files with 5 additions and 1 deletions
|
@ -543,7 +543,11 @@ export const main = createLayer("main", function (this: BaseLayer) {
|
|||
watch(
|
||||
() => resourceLevels.value[resource],
|
||||
(level, prevLevel) => {
|
||||
if (Decimal.gt(level, prevLevel) && settings.active === player.id) {
|
||||
if (
|
||||
Decimal.gt(level, prevLevel) &&
|
||||
settings.active === player.id &&
|
||||
Decimal.lte(level, 100)
|
||||
) {
|
||||
toast.info(
|
||||
<div>
|
||||
<h3>
|
||||
|
|
Loading…
Reference in a new issue