added reset_seed

This commit is contained in:
gnembon committed 2021-03-12 06:11:55 -04:00
1 parent ece43b6213
commit eab24f7896
6 files changed
+21 -2

No files matched your search

@@ -42,6 +42,10 @@ public abstract class ScriptHost
return randomizers.computeIfAbsent(aLong, Random::new);
}
public boolean resetRandom(long aLong) {
return randomizers.remove(aLong) != null;
}
public static class ModuleData
{
Module parent;