# HG changeset patch
# User nemo
# Date 1424053647 18000
# Node ID bc5215b2f9fbf523d01fa819ea2c709d1512fcab
# Parent  328486855d01b984c4ceb458cbdb60ad3f5ec401
oops, forgot this annoying thing

diff -r 328486855d01 -r bc5215b2f9fb QTfrontend/model/ammoSchemeModel.cpp
--- a/QTfrontend/model/ammoSchemeModel.cpp	Sun Feb 15 15:35:46 2015 -0500
+++ b/QTfrontend/model/ammoSchemeModel.cpp	Sun Feb 15 21:27:27 2015 -0500
@@ -866,7 +866,7 @@
         return;
     }
 
-    cfg[42] = cfg[42].mid(1);
+    cfg[cfg.size()-1] = cfg[cfg.size()-1].mid(1);
 
     for(int i = 0; i < cfg.size(); ++i)
         netScheme[i] = QVariant(cfg[i]);
diff -r 328486855d01 -r bc5215b2f9fb QTfrontend/ui/widget/gamecfgwidget.cpp
--- a/QTfrontend/ui/widget/gamecfgwidget.cpp	Sun Feb 15 15:35:46 2015 -0500
+++ b/QTfrontend/ui/widget/gamecfgwidget.cpp	Sun Feb 15 21:27:27 2015 -0500
@@ -587,7 +587,7 @@
 
     if (sl.size() >= 42)
     {
-        sl[42].prepend('!');
+        sl[sl.size()-1].prepend('!');
         emit paramChanged("SCHEME", sl);  // this is a stupid hack for the fact that SCHEME is being sent once, empty. Still need to find out why.
     }