Add Utterance as tool script to work around https://github.com/godot-rust/godot-rust/issues/614.

This commit is contained in:
Nolan Darilek 2020-10-09 09:35:55 -05:00
parent 8ed356fd47
commit e483f3467b

View File

@ -266,7 +266,7 @@ impl TTS {
fn init(handle: InitHandle) { fn init(handle: InitHandle) {
env_logger::init(); env_logger::init();
handle.add_class::<Utterance>(); handle.add_tool_class::<Utterance>();
handle.add_class::<TTS>(); handle.add_class::<TTS>();
} }