mirror of
https://github.com/SpaceManiac/SpacemanDMM.git
synced 2025-12-23 05:36:47 +00:00
Set return type of get_step to /turf
This commit is contained in:
parent
93b2a564f4
commit
8676b7e8b5
1 changed files with 4 additions and 1 deletions
|
|
@ -265,10 +265,13 @@ pub struct AnalyzeObjectTree<'o> {
|
|||
|
||||
impl<'o> AnalyzeObjectTree<'o> {
|
||||
pub fn new(context: &'o Context, objtree: &'o ObjectTree) -> Self {
|
||||
let mut return_type = HashMap::default();
|
||||
return_type.insert(objtree.root().get_proc("get_step").unwrap(), StaticType::Type(objtree.expect("/turf")));
|
||||
|
||||
AnalyzeObjectTree {
|
||||
context,
|
||||
objtree,
|
||||
return_type: Default::default(),
|
||||
return_type,
|
||||
used_kwargs: Default::default(),
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue