nitlanguage
/
nit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
shoot: headless run forces a `srand_from(0)`
[nit.git]
/
examples
/
shoot
/
src
/
shoot_logic.nit
diff --git
a/examples/shoot/src/shoot_logic.nit
b/examples/shoot/src/shoot_logic.nit
index
838c78b
..
824af57
100644
(file)
--- a/
examples/shoot/src/shoot_logic.nit
+++ b/
examples/shoot/src/shoot_logic.nit
@@
-1052,6
+1052,7
@@
end
fun headless_run
do
+ srand_from 0
print "Headless run"
# Only run the playscene
var scene = new PlayScene(80000,60000)