Stop MILLA lag (#27965)

* Remove obscure reference.

* Build Rust library

---------

Co-authored-by: paradisess13[bot] <165046124+paradisess13[bot]@users.noreply.github.com>
This commit is contained in:
Charlie Nolan
2025-01-13 13:58:33 -08:00
committed by GitHub
parent 734ec10f98
commit 879fafd788
4 changed files with 3 additions and 1 deletions
+3 -1
View File
@@ -104,7 +104,9 @@ fn milla_load_turfs(data_property: ByondValue, low_corner: ByondValue, high_corn
let property_ref = data_property.get_strid()?;
for turf in byond_block(byond_xyz(&low_corner)?, byond_xyz(&high_corner)?)? {
let (x, y, z) = byond_xyz(&turf)?.coordinates();
let data = turf.read_var_id(property_ref)?.get_list_values()?;
let mut property = turf.read_var_id(property_ref)?;
let data = property.get_list_values()?;
property.decrement_ref();
if data.len() != 17 {
return Err(eyre!("data property has the wrong length: {} vs {}", data.len(), 17));
}
BIN
View File
Binary file not shown.
BIN
View File
Binary file not shown.
Binary file not shown.