First chunk of battling is now fully working, along with integration tests! 🎉
Some checks failed
continuous-integration/drone/push Build is failing
Some checks failed
continuous-integration/drone/push Build is failing
This commit is contained in:
@@ -149,9 +149,11 @@ impl ScriptAggregator {
|
||||
self.index = index;
|
||||
let wrapper = unsafe { &self.scripts.as_ref().unwrap()[self.index as usize] };
|
||||
if let ScriptWrapper::Set(s) = wrapper {
|
||||
if let Some(..) = s.upgrade() {
|
||||
self.set_index = 0;
|
||||
return true;
|
||||
if let Some(set) = s.upgrade() {
|
||||
if set.read().count() > 0 {
|
||||
self.set_index = 0;
|
||||
return true;
|
||||
}
|
||||
}
|
||||
} else if let ScriptWrapper::Script(script) = wrapper {
|
||||
if let Some(v) = script.upgrade() {
|
||||
|
||||
Reference in New Issue
Block a user