Puuuuuush

This commit is contained in:
brausjonas
2023-04-10 15:47:19 +02:00
parent 1435baa2e5
commit 76b160e611
6 changed files with 7 additions and 3 deletions
+1 -1
View File
@@ -98,7 +98,7 @@
<workItem from="1680352829832" duration="680000" />
<workItem from="1680353695912" duration="624000" />
<workItem from="1680470998642" duration="1402000" />
<workItem from="1681130452664" duration="3287000" />
<workItem from="1681130452664" duration="3878000" />
</task>
<servers />
</component>
Binary file not shown.
Binary file not shown.
Binary file not shown.
+3 -1
View File
@@ -24,8 +24,10 @@ public class Server
//A Formatter for date and time log outputs
public void deleteRoom(String code)
{
rooms.get(code).closeRoom();
Room r = rooms.get(code);
r.closeRoom();
rooms.remove(code);
publicRooms.remove(r);
//LOG
System.out.println("Room " + code + " successfully deleted");