mirror of
https://github.com/openfrontio/OpenFrontIO.git
synced 2026-07-04 04:40:57 +00:00
ofm
This commit is contained in:
@@ -227,6 +227,9 @@ export const isKnownPlayer: boolean = false;
|
||||
export const isSeenplayer: boolean = false;
|
||||
export const isLoginPlayer: boolean = false;
|
||||
|
||||
//event
|
||||
export const ofm_2025_event: boolean = false;
|
||||
|
||||
export let MAX_LAYER = 50;
|
||||
|
||||
type LockReasonMap = Record<string, string>;
|
||||
@@ -291,6 +294,10 @@ export function checkPermission(): [string[], string[], LockReasonMap, number] {
|
||||
lock(["beta_tester", "beta_tester_circle"], "flag_input.reason.beta");
|
||||
}
|
||||
|
||||
if (!ofm_2025_event) {
|
||||
lock(["ofm_2025"], "flag_input.reason.ofm_2025");
|
||||
}
|
||||
|
||||
if (!isSupporters) {
|
||||
lock(["rocket_mini", "rocket"], "flag_input.reason.supporters");
|
||||
lockColor(
|
||||
|
||||
Reference in New Issue
Block a user