MCPcopy Create free account
hub / github.com/SimHacker/micropolis / reallyUpdateFunds

Method reallyUpdateFunds

MicropolisCore/src/MicropolisEngine/src/update.cpp:121–135  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

119
120
121void Micropolis::reallyUpdateFunds()
122{
123 if (!mustUpdateFunds) {
124 return;
125 }
126
127 mustUpdateFunds = false;
128
129 if (totalFunds != totalFundsLast) {
130 totalFundsLast = totalFunds;
131
132 callback("update", "s", "funds");
133 }
134
135}
136
137
138void Micropolis::doTimeStuff()

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected