diff options
author | Tor Andersson <tor@ccxvii.net> | 2022-07-19 12:25:47 +0200 |
---|---|---|
committer | Tor Andersson <tor@ccxvii.net> | 2022-11-17 13:11:25 +0100 |
commit | 710bc4a5242b47a17a9fdcc34323587c38cfb09b (patch) | |
tree | 6875747a00f60d6fbc2d00652af287f130522b80 /play.js | |
parent | 459586dfb04f3b79a4180e84e3603f5bffaf2abc (diff) | |
download | rommel-in-the-desert-710bc4a5242b47a17a9fdcc34323587c38cfb09b.tar.gz |
No rommel in 1940
Diffstat (limited to 'play.js')
-rw-r--r-- | play.js | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -16,6 +16,8 @@ const ANTITANK = 2 const ARTILLERY = 3 function set_has(set, item) { + if (!set) + return false let a = 0 let b = set.length - 1 while (a <= b) { |