ref: 8d09c9f0792ba1a5537a5fcae547d7c4fe58bef3
parent: 6a6e8a97e01b3946d7e3ce7f7f685a005b658a3b
author: mkf <mkf@cloud9p.org>
date: Wed May 22 11:33:12 EDT 2024
gui9net: small fixes
--- a/gui9net.c
+++ b/gui9net.c
@@ -309,8 +309,6 @@
srand(time(0));
allocimages();
-// initlevel(); /* must happen before "eresized" */
- eresized(0);
if(networked)
{
@@ -318,6 +316,9 @@
netmain(); /* SYNC */
netmain(); /* TURN/WAIT */
}
+ else
+ initlevel(); /* must happen before "eresized" */
+ eresized(0);
for(;;)
{
if(networked && waitbit && isplaying)