Skip to content

Commit

Permalink
fix: build
Browse files Browse the repository at this point in the history
  • Loading branch information
qudix committed Oct 4, 2024
1 parent da12926 commit d261f53
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions include/RE/B/BSScriptUtil.h
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ namespace RE::BSScript
const auto& mappings = _proxy->type->varNameIndexMap;
const auto it = mappings.find(a_name);
if (it != mappings.end()) {
const auto& var = _proxy->variables[it->Value];
const auto& var = _proxy->variables[it->value];
return detail::UnpackVariable<T>(var);
}
}
Expand All @@ -107,7 +107,7 @@ namespace RE::BSScript
auto& mappings = _proxy->type->varNameIndexMap;
const auto it = mappings.find(a_name);
if (it != mappings.end()) {
auto& var = _proxy->variables[it->Value];
auto& var = _proxy->variables[it->value];
detail::PackVariable(var, std::forward<T>(a_val));
return true;
}
Expand Down

0 comments on commit d261f53

Please sign in to comment.