File tree Expand file tree Collapse file tree 2 files changed +1
-5
lines changed
crates/bevy_mod_scripting_core/src Expand file tree Collapse file tree 2 files changed +1
-5
lines changed Original file line number Diff line number Diff line change @@ -106,10 +106,6 @@ macro_rules! push_err_and_continue {
106
106
/// Passes events with the specified label to the script callback with the same name and runs the callback.
107
107
///
108
108
/// If any of the resources required for the handler are missing, the system will log this issue and do nothing.
109
- #[ allow(
110
- private_interfaces,
111
- reason = "people should not need to use this as a function, they only need the type signature"
112
- ) ]
113
109
pub fn event_handler < L : IntoCallbackLabel , P : IntoScriptPluginParams > (
114
110
world : & mut World ,
115
111
state : & mut SystemState < (
Original file line number Diff line number Diff line change @@ -111,7 +111,7 @@ pub enum GameOfLifeCommand {
111
111
/// Stop the game of life by dropping a handle to the game_of_life script
112
112
Stop ,
113
113
}
114
- use bevy_mod_scripting_core :: ConfigureScriptPlugin ;
114
+
115
115
// ------------- GAME OF LIFE
116
116
fn game_of_life_app ( app : & mut App ) -> & mut App {
117
117
app. insert_resource ( Time :: < Fixed > :: from_seconds ( UPDATE_FREQUENCY . into ( ) ) )
You can’t perform that action at this time.
0 commit comments