Skip to content

Commit

Permalink
nah
Browse files Browse the repository at this point in the history
  • Loading branch information
jasonlaubb committed Sep 28, 2024
1 parent 42898c6 commit 8688d34
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions ac_BP/src/Assets/Flag.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,10 @@ interface FlagData {
lastValidTime: number;
}
const flagData = new Map<string, FlagData>()
/**
* @author jasonlaubb
* @description Unique flag handler
*/
export function flag(player: Player, modules: Modules, type: Type = "A") {
if (!(player instanceof Player) || isAdmin(player)) return;
const config = c();
Expand Down Expand Up @@ -148,5 +152,4 @@ function getPercentageComponent (component: string[], total: number): { [key: st
amountListing[item] ??= 0;
amountListing[item] += (1 / total) * 100;
})
return amountListing;
}
return amountListing;

0 comments on commit 8688d34

Please sign in to comment.