Skip to content
Snippets Groups Projects
Commit b9cf806c authored by deuce's avatar deuce
Browse files

Fix *successfull* retreat bug reported by Phill Terry

(You should still just need this one file... thanks!)
parent ada2bdeb
No related branches found
No related tags found
No related merge requests found
......@@ -114,7 +114,7 @@ function EnterSector() /* 20000 */
console.writeln("<Retreat>");
if(player.LastIn<1 || player.LastIn>=sectors.length)
player.LastIn=random(sectors.length-1)+1;
location=player.Sector.Get(player.Record);
location=playerLocation.Get(player.Record);
if(player.Fighters<1) {
if(random(2)==1) {
console.writeln("You escaped!");
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment