mirror of
https://github.com/DarkflameUniverse/DarkflameServer.git
synced 2026-10-02 10:53:44 +00:00
Live wrote the controllable-physics cheat block (gravity scale, speed multiplier) in a construction only when one of them differed from 1: 216 of 20,617 constructions had it (players at run speed 1.05 / 1.5 / 2.0 / 0.5, enemies with gravity 0), never 1 and 1. DLU wrote it in every construction. Serializations are unchanged. Test: ReplicaConstructionTest.ControllablePhysicsConstructionWritesCheatsOnlyWhenChanged. Check in game: with a second player watching, use a speed boost (or /setspeed) and zone in while boosted; the other player sees you move at the right speed. Enemies with gravity 0 (e.g. Sentinel Turret 6254) behave as before. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
15 KiB
15 KiB