commit 81f0a095470196781936eadf5b240915ad2470a0
parent 87871264f1c8f1ebb96c33a7963bfe5ebc619452
Author: FIGBERT <figbert@figbert.com>
Date: Fri, 5 Feb 2021 19:27:18 -0800
Adjust ACCEL_THRESHOLD for Android devices
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/scripts/main.gd b/src/scripts/main.gd
@@ -1,13 +1,13 @@
extends Node
-const ACCEL_THRESHOLD := 3
const SERVER_IP := "10.0.0.76"
const SERVER_PORT := 1780
const MAX_PLAYERS := 2
const DREIDEL_FACES := ["nun", "gimmel", "hey", "pey/shin"]
const POT_STARTING_GELT := 5
const PLAYER_STARTING_GELT := 10
+var ACCEL_THRESHOLD := 3 if OS.get_name() == "iOS" else 30
var players := {}
var pot := POT_STARTING_GELT
var spin_results := {