issues
search
lijim
/
monks-and-mages
Monks and Mages is a TCG-game built on React and socket.io
https://www.monksandmages.com
MIT License
17
stars
0
forks
source link
Fix: Restore chat message functionality
#429
Closed
lijim
closed
1 year ago
lijim
commented
1 year ago
Problem:
The major refactor in #428 caused an unintended side-effect in that players weren't able to see game messages.
Fix:
This fix moves
public-
and
publicSpectate-
away from their "magic-constant" style implementation into exported variables
Using this, we fixed some logic so that the correct rooms in socket.io are targeted when broadcasting messages to players and spectators
Problem:
Fix:
public-
andpublicSpectate-
away from their "magic-constant" style implementation into exported variables