Remove deprecated stuff from stdlib (#14699)

* update to the latest Jester

* remove deprecated procs from some stdlib modules

* 'criterion' is not maintained anymore and relies on obsolete stuff
This commit is contained in:
Miran 2020-06-17 15:25:02 +02:00 • committed by GitHub
commit e7f280bd26
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
41 changed files with 155 additions and 519 deletions

View file

@ -486,7 +486,7 @@ when defined(DebugKeys):
activeVehicle.body.setPos mouseToSpace())
ingameClient.registerHandler(KeyY, down, proc() =
const looloo = ["Asteroid1", "Asteroid2"]
addObject(looloo[random(looloo.len)]))
addObject(looloo[rand(looloo.len)]))
ingameClient.registerHandler(KeyO, down, proc() =
if objects.len == 0:
echo "Objects is empty"