Puuuuuush
This commit is contained in:
1 parent
1435baa2e5
commit
76b160e611
6 files changed
+7
-3
No files matched your search
@@ -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");
|
||||
|
||||
Reference in new issue
Block a user