diff options
| author | Bruce Hill <bruce@bruce-hill.com> | 2019-05-25 22:33:42 -0700 |
|---|---|---|
| committer | Bruce Hill <bruce@bruce-hill.com> | 2019-05-25 22:33:42 -0700 |
| commit | 4c65128582fc5ff06dfa269f260fb99cf40b5786 (patch) | |
| tree | c472db2d59fcfb836fe3ca0e132f983458a7f56f | |
| parent | 8cf905cd2cd3113db87fcd172637cf9a7f677c69 (diff) | |
Properly seeding the RNG
| -rwxr-xr-x | nowopen | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -165,6 +165,7 @@ if #options == 0 and not raw_print then table.insert(lines, center("¯\\_(ツ)_/¯", cols)) else if randomize then + math.randomseed(os.time()) options = {options[math.random(#options)]} else table.sort(options, function(o1, o2) return o1.until_close < o2.until_close end) |
