We need to be able to remove and change scripts while they're currently being active.
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
2022-06-18 18:08:25 +02:00
parent c99b1bf8d9
commit a1051d059e
5 changed files with 380 additions and 174 deletions

View File

@@ -8,7 +8,7 @@ use crate::dynamic_data::models::pokemon::Pokemon;
use crate::dynamic_data::script_handling::{ScriptSource, ScriptWrapper};
use crate::static_data::{DataLibrary, MoveCategory};
use crate::{run_scripts, script_hook, PkmnResult};
use std::ops::{Deref, DerefMut};
use std::ops::Deref;
use std::sync::Arc;
impl<'own, 'library> Battle<'own, 'library> {