diff --git a/src/ship.c b/src/ship.c
index a036b0f..60f7c05 100644
--- a/src/ship.c
+++ b/src/ship.c
@@ -31,7 +31,7 @@ Ship* get_ship(const char* name) {
   if(i == ships) // Ship doesn't exist, game will probably crash now.
     WARN("Ship %s does not exist", name);
 
-  return tmp+1;
+  return tmp+i;
 }
 
 Ship* ship_parse(xmlNodePtr parent) {