mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-12-08 13:44:56 +00:00
Add CVarValueReference
This commit is contained in:
@@ -472,6 +472,9 @@ void CVar::lock() {
|
||||
void CVar::dispatch() {
|
||||
for (const ListenerFunc& listen : m_listeners)
|
||||
listen(this);
|
||||
for (auto* ref : m_valueReferences) {
|
||||
ref->updateValue();
|
||||
}
|
||||
}
|
||||
|
||||
bool isReal(std::string_view v) {
|
||||
|
||||
Reference in New Issue
Block a user