changed VData system again, renamed src/script to src/lang and added src/c.mers, which is an example something that currently does not work properly due to the VData implementation (and serves as a reminder to fix the issue)

This commit is contained in:
mark
2023-05-14 00:11:36 +02:00
parent f8102c8fe6
commit aff55fdc9e
33 changed files with 1081 additions and 1205 deletions

View File

@@ -57,8 +57,8 @@ fn main() {
.unwrap()
.1;
my_lib.callbacks.run_function.consuming = Some(Box::new(move |msg| {
let url = if let VDataEnum::String(url) = &msg.msg.args[0].data().0 {
url.clone()
let url = if let VDataEnum::String(url) = msg.msg.args[0].inner_cloned() {
url
} else {
unreachable!()
};