From 6d5dd4087565518a801e641449b16c7690ad2c9b Mon Sep 17 00:00:00 2001
From: TheCreeper <dc0@riseup.net>
Date: Mon, 22 Feb 2016 21:10:34 +0000
Subject: [PATCH 1/2] Add support for Empires to mapchooser.

---
 plugins/mapchooser.sp | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/plugins/mapchooser.sp b/plugins/mapchooser.sp
index 5b966bca..52bbb0ec 100644
--- a/plugins/mapchooser.sp
+++ b/plugins/mapchooser.sp
@@ -157,6 +157,9 @@ public void OnPluginStart()
 		{
 			HookEvent("round_win", Event_RoundEnd);
 		}
+		else if (strcmp(folder, "empires") == 0) {
+			HookEvent("game_end", Event_RoundEnd);
+		}
 		else
 		{
 			HookEvent("round_end", Event_RoundEnd);

From 39d9f4da3fd8cd97430933bf91a8ab47a6753b73 Mon Sep 17 00:00:00 2001
From: TheCreeper <dc0@riseup.net>
Date: Mon, 22 Feb 2016 21:15:38 +0000
Subject: [PATCH 2/2] Be consistent.

---
 plugins/mapchooser.sp | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/plugins/mapchooser.sp b/plugins/mapchooser.sp
index 52bbb0ec..d170e961 100644
--- a/plugins/mapchooser.sp
+++ b/plugins/mapchooser.sp
@@ -157,7 +157,8 @@ public void OnPluginStart()
 		{
 			HookEvent("round_win", Event_RoundEnd);
 		}
-		else if (strcmp(folder, "empires") == 0) {
+		else if (strcmp(folder, "empires") == 0)
+		{
 			HookEvent("game_end", Event_RoundEnd);
 		}
 		else