Boarding up doors never actually did anything
You board up doors in One More Night. It’s what the game is about — you can’t fight everything, so you decide where the horde is allowed to come from.
It has never worked.
Reinforcing a door raised its hit points. That’s all it did. The routing grid the zombies use to decide where to go has had four documented door costs since the door system shipped — open, damaged, closed, hardened — and only two of them were ever wired into the actual weights. So a reinforced door and a plain closed door looked identical to the pathfinder, and a damaged one didn’t read as an invitation.
Which means the strategy the game is built around was decoration. You’d board a door, the horde would route the same way it always had, and the thing you’d spent your materials on just took a few more hits before breaking. It felt like it was doing something, because the door did last longer. The part where it redirects the pressure somewhere else never existed.
It does now. A damaged door genuinely draws the horde and a reinforced one pushes it elsewhere. The weights are the original documented values, never tuned, so the whole thing needs a proper play-test — the horde will move in ways I’ve never seen it move.
The gap between a documented design and a wired-up one is where I lose the most time. Somebody — me — wrote the four costs down, implemented two, and the comment block above the function has been describing a system that doesn’t exist ever since.
Twice the frame rate, same picture
The darkness and occlusion mask, the thing that stops you seeing around corners, was rendering at full resolution. It’s a soft mask. It doesn’t need to.
At half resolution it looks the same and runs about twice as fast. 76 to 125 fps at 1440p. 26 to 63 fps at 4K. That second number is the one that matters, because 26 fps is unplayable and 63 is fine.
Profiling the 4K frame afterwards turned up the next target. Post-processing — vignette and colour grade — is about 45% of the frame: 9.06ms with it, 4.97ms without. That’s a lot of budget for two effects and it’s where I’ll look next.
While I was in there I found a cosmetic bug and deliberately left it. A colour matrix is applied in the wrong order, which means the game has only ever shipped the desaturation half of its look and never the 35% darkening I intended. Fixing it would visibly change the art direction of a game people have already played, so that’s a decision rather than a bug fix, and it’s written down as an open question instead of being corrected on the sly.
Seven weeks with no security policy
Here’s the bad one.
When the site moved off the old server in September, the content security policy went with it, because it had been living in an Apache config and Apache was no longer involved. Nothing broke. Nothing warned. The site ran with no content security policy and no framing protection for about seven weeks.
I didn’t find it by testing. I found it because an unrelated dead-code cleanup led to a documentation audit, and the architecture document was describing a deploy that stopped existing in September — the old server, password login, files I’d deleted. Reading a document that confidently described a system I no longer had is what prompted the question.
Then shipping the new policy immediately broke Cloudflare’s own analytics script, which is injected at the edge and so is invisible to local review and to a local dev server. There’s no way to catch that without loading the real deployed site. One line to allowlist it, and a new rule written down: for this kind of policy, a local check is never proof.
That cleanup also produced a document with its own error in it — I marked a deploy script as legacy by misreading a similarly-named script in a sibling project. Caught the next day, with a mechanical check added so it can’t happen again.
Smaller things
Password login is gone; sign-in is portal SSO only, which is what the accounts backend actually supports now. Stackable materials in the loadout collapse into one row with a count instead of eight separate Wood rows each needing its own click to sell. The crate-opening animation works again — it had been silently broken since an October inventory merge. And the ammo HUD shows a symbol as well as a colour change when you’re low or empty, for anyone who can’t rely on the colour.
Thirteen commits and no version bump. This was a debt month rather than a release month, and the two things from September finally landed as part of it.
— Bruno