mirror of
https://github.com/rojo-rbx/rojo.git
synced 2026-10-21 03:36:06 +00:00
Release Rojo v7.6.0 (#1125)
This commit is contained in:
parent
f3c423d77d
commit
441c469966
12 changed files with 7426 additions and 703 deletions
|
|
@ -31,6 +31,7 @@ pub fn snapshot_lua(
|
|||
script_type: ScriptType,
|
||||
) -> anyhow::Result<Option<InstanceSnapshot>> {
|
||||
let run_context_enums = &rbx_reflection_database::get()
|
||||
.unwrap()
|
||||
.enums
|
||||
.get("RunContext")
|
||||
.expect("Unable to get RunContext enums!")
|
||||
|
|
|
|||
|
|
@ -313,7 +313,7 @@ fn infer_class_name(name: &str, parent_class: Option<&str>) -> Option<Ustr> {
|
|||
// Members of DataModel with names that match known services are
|
||||
// probably supposed to be those services.
|
||||
|
||||
let descriptor = rbx_reflection_database::get().classes.get(name)?;
|
||||
let descriptor = rbx_reflection_database::get().unwrap().classes.get(name)?;
|
||||
|
||||
if descriptor.tags.contains(&ClassTag::Service) {
|
||||
return Some(ustr(name));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue