From 25cd9e3ae561f008db321416e7332b90a408633b Mon Sep 17 00:00:00 2001
From: Allanis <allanis@saracraft.net>
Date: Sat, 15 Jun 2013 20:29:11 +0100
Subject: [PATCH] [Fix] type trying to enable a button.

---
 src/land.c | 2 +-
 src/save.c | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/land.c b/src/land.c
index bd35231..507b595 100644
--- a/src/land.c
+++ b/src/land.c
@@ -254,7 +254,7 @@ static void outfits(void) {
                    "Close", outfits_close);
 
   window_addButton(secondary_wid, -40-BUTTON_WIDTH, 40+BUTTON_HEIGHT,
-                   BUTTON_WIDTH, BUTTON_HEIGHT, "btnBuyOutfits",
+                   BUTTON_WIDTH, BUTTON_HEIGHT, "btnBuyOutfit",
                    "Buy", outfits_buy);
 
   window_addButton(secondary_wid, -40-BUTTON_WIDTH, 20,
diff --git a/src/save.c b/src/save.c
index 2a20074..a2e5032 100644
--- a/src/save.c
+++ b/src/save.c
@@ -38,7 +38,7 @@ static int save_data(xmlTextWriterPtr writer) {
   if(missions_saveActive(writer) < 0)   return -1;
   if(var_save(writer) < 0)              return -1;
   if(pfaction_save(writer) < 0)         return -1;
-
+  if(hook_save(writer) < 0)             return -1;
   return 0;
 }