Salet's RNG

This commit is contained in:
Alexander Yakovlev 2017-06-19 22:49:03 +07:00
parent d32089d79c
commit 4687bb6ecf
1 changed files with 2 additions and 0 deletions

View File

@ -15,6 +15,8 @@ salet.game_version = "1.0"
$.holdReady( true )
$.getJSON('game/procgen/'+i18n.lang+'.json', (data) ->
Improv = new ImprovEngine(data, {
rng: () ->
return salet.rnd.randf()
filters: [
ImprovEngine.filters.mismatchFilter()
]