fix
This commit is contained in:
parent
dfd96746fe
commit
bd0c5e184e
2 changed files with 6 additions and 1 deletions
|
|
@ -3,6 +3,11 @@ b = a
|
||||||
puts '0'
|
puts '0'
|
||||||
puts a.await
|
puts a.await
|
||||||
puts '1'
|
puts '1'
|
||||||
|
u = get_player_name
|
||||||
puts b.await
|
puts b.await
|
||||||
puts '2'
|
puts '2'
|
||||||
|
z = get_player_name
|
||||||
|
puts z
|
||||||
|
puts z.await
|
||||||
|
puts "end"
|
||||||
quit
|
quit
|
||||||
|
|
|
||||||
|
|
@ -421,7 +421,7 @@ impl Runtime for RubyRuntime {
|
||||||
.unwrap()
|
.unwrap()
|
||||||
.into_raw(),
|
.into_raw(),
|
||||||
);
|
);
|
||||||
rb_load(file, 1);
|
rb_load(file, 0);
|
||||||
};
|
};
|
||||||
// ruby.eval::<magnus::value::Value>(&script)
|
// ruby.eval::<magnus::value::Value>(&script)
|
||||||
// .map_err(<magnus::Error as Into<ScriptingError>>::into)
|
// .map_err(<magnus::Error as Into<ScriptingError>>::into)
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue