1
0
forked from 0ad/0ad

Hide ESLint no-unmodified-loop-condition hint for a while (const) in gamesetup.js, refs #5524.

Differential Revision: https://code.wildfiregames.com/D2147
Patch By: Krinkle
This was SVN commit r22651.
This commit is contained in:
elexis 2019-08-12 11:53:30 +00:00
parent 214f805f83
commit 353c415072

View File

@ -2015,7 +2015,10 @@ function onTick()
*/
function handleNetMessages()
{
while (g_IsNetworked)
if (!g_IsNetworked)
return;
while (true)
{
let message = Engine.PollNetworkClient();
if (!message)