From 45afcdee073f81f3d8cb4743baf6b4742c51b0bf Mon Sep 17 00:00:00 2001 From: niansa Date: Tue, 10 May 2022 16:01:50 +0200 Subject: [PATCH] Store Rooms instead of Playfields inside of Global --- server/Connection.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/server/Connection.hpp b/server/Connection.hpp index 5288690..3aadb92 100644 --- a/server/Connection.hpp +++ b/server/Connection.hpp @@ -16,7 +16,7 @@ namespace World { -class Playfield; +struct Room; } namespace Connection { @@ -108,7 +108,7 @@ public: struct Global { std::vector> clients; - std::vector> playfields; + std::vector> rooms; };