forked from github/server
off-by-one in NMR count
This commit is contained in:
parent
2c356103e2
commit
b6f40148d7
|
@ -1,6 +1,6 @@
|
|||
function nmr_check(maxnmrs)
|
||||
local nmrs = get_nmrs(1)
|
||||
if nmrs >= maxnmrs then
|
||||
if nmrs > maxnmrs then
|
||||
eressea.log.error("Shit. More than " .. maxnmrs .. " factions with 1 NMR (" .. nmrs .. ")")
|
||||
write_summary()
|
||||
return -1
|
||||
|
|
Loading…
Reference in New Issue