From 53be40dc7297b9aa2f22407c958a4b52936c6603 Mon Sep 17 00:00:00 2001
From: Tor Andersson <tor@ccxvii.net>
Date: Fri, 11 Apr 2025 23:18:51 +0200
Subject: Use "pass" instead of "end go home" when following indians.

---
 rules.js | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/rules.js b/rules.js
index 47472bb..4e2c604 100644
--- a/rules.js
+++ b/rules.js
@@ -6643,7 +6643,7 @@ states.go_home_with_indians = {
 		}
 
 		if (game.count === 0)
-			view.actions.end_go_home = 1
+			view.actions.pass = 1
 	},
 	piece(p) {
 		push_undo()
@@ -6660,6 +6660,9 @@ states.go_home_with_indians = {
 			end_go_home_to()
 	},
 	end_go_home() {
+		this.pass()
+	},
+	pass() {
 		push_undo()
 		end_go_home_to()
 	},
-- 
cgit v1.2.3