<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -13,7 +13,13 @@ frame:Hide()
 frame:SetScript(&quot;OnShow&quot;, function()
 	local title, subtitle = LibStub(&quot;tekKonfig-Heading&quot;).new(frame, &quot;MountMe&quot;, &quot;These settings allow you to choose when to swap mount speed equipment.&quot;)
 
-	local pvpswap = tekcheck.new(frame, nil, &quot;Swap when PvP flagged&quot;, &quot;TOPLEFT&quot;, subtitle, &quot;BOTTOMLEFT&quot;, -2, -GAP)
+	local raidswap = tekcheck.new(frame, nil, &quot;Swap when in a raid instance&quot;, &quot;TOPLEFT&quot;, subtitle, &quot;BOTTOMLEFT&quot;, -2, -GAP)
+	raidswap.tiptext = &quot;Enable equipment swapping when in a raid instance.&quot;
+	raidswap:SetChecked(not MountMe.db.raidsuspend)
+	local checksound = raidswap:GetScript(&quot;OnClick&quot;)
+	raidswap:SetScript(&quot;OnClick&quot;, function(self) checksound(self); MountMe.db.raidsuspend = not MountMe.db.raidsuspend end)
+
+	local pvpswap = tekcheck.new(frame, nil, &quot;Swap when PvP flagged&quot;, &quot;TOPLEFT&quot;, raidswap, &quot;BOTTOMLEFT&quot;, 0, -GAP)
 	pvpswap.tiptext = &quot;Enable equipment swapping when PvP flagged.&quot;
 	pvpswap:SetChecked(not MountMe.db.PvPsuspend)
 
@@ -28,7 +34,6 @@ frame:SetScript(&quot;OnShow&quot;, function()
 		bgswaplabel:SetFontObject(GameFontHighlight)
 	end
 
-	local checksound = pvpswap:GetScript(&quot;OnClick&quot;)
 	pvpswap:SetScript(&quot;OnClick&quot;, function(self)
 		checksound(self)
 		MountMe.db.PvPsuspend = not MountMe.db.PvPsuspend</diff>
      <filename>Config.lua</filename>
    </modified>
    <modified>
      <diff>@@ -34,7 +34,7 @@ if tekDebug then MountMe:EnableDebug(1, tekDebug:GetFrame(&quot;MountMe&quot;)) end
 ------------------------------
 
 function MountMe:Initialize()
-	MountMeDB = MountMeDB or {BGsuspend = true, PvPsuspend = false}
+	MountMeDB = MountMeDB or {BGsuspend = true, PvPsuspend = false, raidsuspend = false}
 	self.db = MountMeDB
 
 	MountMeItemSwapDB = MountMeItemSwapDB or {}
@@ -114,9 +114,10 @@ end
 function MountMe:IsSuspended()
 	-- While you can switch trinkets while inside an arena, you cannot once the match starts so we're disabled when inside arenas no matter what
 	local _, instanceType = IsInInstance()
-	if self.db.PvPsuspend and UnitIsPVP(&quot;player&quot;)
+	return self.db.PvPsuspend and UnitIsPVP(&quot;player&quot;)
 		or self.db.BGsuspend and instanceType == &quot;pvp&quot;
-		or instanceType == &quot;arena&quot; then return true end
+		or self.db.raidsuspend and instanceType == &quot;raid&quot;
+		or instanceType == &quot;arena&quot;
 end
 
 </diff>
      <filename>MountMe.lua</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>7e38116285379abb01256b3de8c91598095c6c86</id>
    </parent>
  </parents>
  <author>
    <name>Tekkub Stoutwrithe</name>
    <email>tekkub@gmail.com</email>
  </author>
  <url>http://github.com/tekkub/mountme/commit/f84450eccef6c5c665634ecc29bea9a4fdbe8d06</url>
  <id>f84450eccef6c5c665634ecc29bea9a4fdbe8d06</id>
  <committed-date>2008-05-11T16:16:52-07:00</committed-date>
  <authored-date>2008-05-11T16:16:52-07:00</authored-date>
  <message>Add option to disable swaps in raid instances</message>
  <tree>b324ff228a986131f924331a80ee6292cd0a899d</tree>
  <committer>
    <name>Tekkub Stoutwrithe</name>
    <email>tekkub@gmail.com</email>
  </committer>
</commit>
