awlite

POSIX AWK port of Text Elite game
git clone git://git.luxferre.top/awlite.git
Log | Files | Refs | README

commit 2a5474522b7a8951f28ebfa4871a7c57e291cadf
parent dfc78807ab5d24903fed47f89b27de005ae4b132
Author: Luxferre <lux@ferre>
Date:   Mon, 22 Jan 2024 21:46:00 +0200

save write fix

Diffstat:
Mawlite.awk | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/awlite.awk b/awlite.awk @@ -493,7 +493,7 @@ function dosave(savename, fs, fn) { fs = assocser(player, "|") delete player["cargo"] fn = savename ".awlite" - printf("%s\n", fs) >> fn # write the savefile + printf("%s\n", fs) > fn # write the savefile close(fn) printf("\nGame saved in %s", fn) }