mirror of
https://github.com/Dummi26/mers.git
synced 2025-12-15 19:47:50 +01:00
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:
@@ -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!()
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user