aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornotoraptor <stevenbocco@gmail.com>2019-08-05 08:33:27 -0400
committerPhilip Paquette <pcpaquette@gmail.com>2019-08-05 08:49:41 -0400
commit8857f373932c5493baaf03c948b345dc467f1740 (patch)
tree1d912b0ff5e957b398a773c1c13a7876fcb0f99a
parent891fb62a77b9a86f2bc71cc02a82089412982b2f (diff)
{web] Just reload interface when notification "power orders flag" is received.
This should prevent warnings "unknown power XXX" and then fix #57 .
-rw-r--r--diplomacy/web/src/gui/pages/content_game.jsx1
1 files changed, 0 insertions, 1 deletions
diff --git a/diplomacy/web/src/gui/pages/content_game.jsx b/diplomacy/web/src/gui/pages/content_game.jsx
index bb7d41e..5392336 100644
--- a/diplomacy/web/src/gui/pages/content_game.jsx
+++ b/diplomacy/web/src/gui/pages/content_game.jsx
@@ -417,7 +417,6 @@ export class ContentGame extends React.Component {
case 'cleared_units':
case 'power_orders_update':
case 'power_orders_flag':
- return this.notifiedLocalStateChange(networkGame, notification);
case 'game_status_update':
case 'omniscient_updated':
case 'power_vote_updated':