Terasology / LightAndShadow

Light & Shadow is an experimental game type set in a quirky Alice in Wonderland inspired setting
Apache License 2.0
8 stars 22 forks source link

feat: implement state machine to model game state #256

Open skaldarnar opened 2 years ago

jdrueckert commented 2 years ago

Currently it seems that OnPreGamePhaseStartedEvent, albeit being a BroadcastEvent, isn't broadcasted to all clients. At least when I debug in, I only run into a breakpoint at https://github.com/Terasology/LightAndShadow/blob/67a0ea98726f2b50999857c0e49853291c6c2ccc/src/main/java/org/terasology/module/lightandshadow/systems/ClientPregameSystem.java#L78 once (for the hosting client) even if I have two clients... no idea yet why that is.