From 8857f373932c5493baaf03c948b345dc467f1740 Mon Sep 17 00:00:00 2001
From: notoraptor <stevenbocco@gmail.com>
Date: Mon, 5 Aug 2019 08:33:27 -0400
Subject: {web] Just reload interface when notification "power orders flag" is
 received.

This should prevent warnings "unknown power XXX" and then fix #57 .
---
 diplomacy/web/src/gui/pages/content_game.jsx | 1 -
 1 file changed, 1 deletion(-)

(limited to 'diplomacy/web/src/gui/pages/content_game.jsx')

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':
-- 
cgit v1.2.3

