mirror of
https://github.com/IntQuant/noita_entangled_worlds.git
synced 2025-10-19 07:03:16 +00:00
fix size of comp data and log perf not working
This commit is contained in:
parent
78c2ed2772
commit
474422fe28
2 changed files with 2 additions and 3 deletions
|
@ -11,7 +11,7 @@ pub struct ComponentData {
|
|||
pub enabled: bool,
|
||||
unk2: [u8; 3],
|
||||
pub tags: BitSet<8>,
|
||||
unk3: [isize; 3],
|
||||
unk3: [isize; 4],
|
||||
}
|
||||
impl ComponentData {
|
||||
pub fn has_tag(&'static self, tag_manager: &TagManager<u8>, tag: &StdString) -> bool {
|
||||
|
|
|
@ -32,8 +32,7 @@ ctx.init = function()
|
|||
end
|
||||
|
||||
local function is_measure_perf_enabled()
|
||||
-- return ctx.proxy_opt.debug
|
||||
return ctx.proxy_opt.log_performance
|
||||
return ModSettingGet("quant.ew.log_performance")
|
||||
end
|
||||
|
||||
function ctx.finish()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue