From c2394e86f26b3706b8d1603cef9e72a52a0cafd1 Mon Sep 17 00:00:00 2001 From: Simon Howard Date: Wed, 29 Jan 2014 05:28:10 +0000 Subject: [PATCH] dmxgus: Add 'do not edit' message. As the DMXGUS lump is autogenerated, add an explicit instruction not to edit the lump, as someone might do so, naively seeking to improve it. --- lumps/dmxgus/gen-ultramid | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lumps/dmxgus/gen-ultramid b/lumps/dmxgus/gen-ultramid index 52c2eaaa..a7c06cad 100755 --- a/lumps/dmxgus/gen-ultramid +++ b/lumps/dmxgus/gen-ultramid @@ -158,7 +158,8 @@ mappings = ( with open(sys.argv[1], "w") as output: output.write("# Freedoom GUS config.\n" - "# Autogenerated by gen-ultramid\n\n") + "# Autogenerated by the gen-ultramid script.\n" + "# Please do not manually edit this file!\n") for instr_id, name in sorted(config.GUS_INSTR_PATCHES.items()): line = "%i, %i, %i, %i, %i, %s" % (