diff options
| author | 1029chris <1029chris@gmail.com> | 2017-02-14 16:17:55 -0800 |
|---|---|---|
| committer | 1029chris <1029chris@gmail.com> | 2017-02-14 16:17:55 -0800 |
| commit | 5daf2309272fc3d413f230514534d550c6bd2e33 (patch) | |
| tree | b01c942a50a590aa6a4b20c1ad223cd3b6b7ef00 /virus1.lua | |
| parent | dcf61eedc3f19af5a98ffd78439306ffe205ad77 (diff) | |
Made save game better
The game auto saves when you lose as well.
Diffstat (limited to 'virus1.lua')
| -rw-r--r-- | virus1.lua | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -543,7 +543,6 @@ function drawVirusFight1() if v1.explodeEndFrame >= 20 then v1.yes = false if v1.c.chat.msgs == 47 then - love.filesystem.write("savegame.txt", "v1.complete = true;virus1Lose = " .. virus1Lose .. ";") win[4].w = 200 antivirus.status = "Virus Defeated" win[4].update = true @@ -556,6 +555,7 @@ function drawVirusFight1() virus1Lose = virus1Lose + 1 scene = 666 end + saveGameFile() end end end |
