]> git.pond.sub.org Git - empserver/blobdiff - info/mksubj.pl
ship: Unbreak MOB_ACCESS real-time mobility update for ships
[empserver] / info / mksubj.pl
index 993dacef388b92a97dabc2cb172390fcba1b60b8..2394ce26faccc1413be54dba53494343228a09f0 100644 (file)
@@ -1,7 +1,7 @@
 #!/usr/bin/perl
 #
 #   Empire - A multi-player, client/server Internet based war game.
-#   Copyright (C) 1986-2016, Dave Pare, Jeff Bailey, Thomas Ruschak,
+#   Copyright (C) 1986-2021, Dave Pare, Jeff Bailey, Thomas Ruschak,
 #                 Ken Stevens, Steve McClure, Markus Armbruster
 #
 #   Empire is free software: you can redistribute it and/or modify
@@ -29,7 +29,7 @@
 #
 #   Known contributors to this file:
 #      Ken Stevens (when it was still info.pl)
-#      Markus Armbruster, 2006-2014
+#      Markus Armbruster, 2006-2016
 #
 # Usage: mksubj.pl SUBJECT... INFO-FILE...
 #
@@ -43,7 +43,7 @@ my @Chapters = qw/Introduction Concept Command Server/;
 
 my @Levels = qw/Basic Expert Obsolete/;
 
-# $Subjects{SUBJECT} is a reference to an an anonymous array
+# $Subjects{SUBJECT} is a reference to an anonymous array
 # containing SUBJECT's topics
 my %Subjects;
 
@@ -259,6 +259,7 @@ sub write_toc {
     open(TOC, ">info/toc")
        or die "Can't open info/toc for writing: $!";
     print TOC join("\n", sort @toc);
+    print TOC "\n";
     close TOC;
 }