feat: wolf hunt 2019 #2888

Merged
Sainan merged 4 commits from AMelonInsideLemon/SpaceNinjaServer:wolfhunt-2019 into main 2025-10-11 05:17:09 -07:00
Showing only changes of commit ea2a51d604 - Show all commits

View File

@ -2364,9 +2364,7 @@ export const getWorldState = (buildLabel?: string): IWorldState => {
} }
if (config.worldState?.wolfHunt != undefined) { if (config.worldState?.wolfHunt != undefined) {
const year = config.worldState.wolfHunt; if (config.worldState.wolfHunt == 0) {
console.log(year);
if (year == 0) {
worldState.Goals.push({ worldState.Goals.push({
AMelonInsideLemon marked this conversation as resolved
Review

Leftover console.log

Leftover console.log
_id: { _id: {
$oid: "67ed7672798d6466172e3b9c" $oid: "67ed7672798d6466172e3b9c"
@ -2407,7 +2405,7 @@ export const getWorldState = (buildLabel?: string): IWorldState => {
] ]
} }
}); });
} else if (year == 1) { } else if (config.worldState.wolfHunt == 1) {
worldState.Goals.push({ worldState.Goals.push({
_id: { _id: {
$oid: "67ed7672798d6466172e3b9d" $oid: "67ed7672798d6466172e3b9d"