Fix typo.

This commit is contained in:
Stephen Chung 2022-06-13 16:32:33 +08:00
parent 6ea5ed17f4
commit 23cd4d0f6a

View File

@ -76,7 +76,7 @@ pub fn main() {
states.insert("bool_state".into(), Dynamic::FALSE);
// Add the main states-holding object map and call it 'state'
scope.push("state", Map::new());
scope.push("state", states);
// Compile the handler script.
println!("> Loading script file: {}", path);