Quantcast

Added a credits section to options.

Peter Eliasson [08-03-16 - 16:43]
Added a credits section to options.
Filename
src/options.lua
diff --git a/src/options.lua b/src/options.lua
index 73df7e9..72d18f7 100644
--- a/src/options.lua
+++ b/src/options.lua
@@ -38,6 +38,7 @@ local function createOptionsTable()
 				name = "Purge Settings",
 				type = "group",
 				inline = true,
+				order = 20,
 				args = {
 					purgeEnabled = {
 						order = 1,
@@ -67,7 +68,25 @@ local function createOptionsTable()
 						disabled = function() return not addon.db.realm.options.purgeEnabled; end,
 					}
 				},
-				order = 20,
+			},
+			creditsSeparator = {
+				name = "",
+				order = -1,
+				type = "header",
+				width = "Full",
+			},
+			credits = {
+				name = "Credits",
+				order = -1,
+				type = "group",
+				inline = true,
+				args = {
+					text = {
+						order = 1,
+						type = "description",
+						name = "Big thanks to Zalk for helping me test the addon!",
+					},
+				},
 			},
 		},
 	};