revert changing stageTime in VariableServerSession

This commit is contained in:
Scott Fennell 2022-06-29 14:49:55 -05:00
parent 284ea8521a
commit ed95f22ecf

View File

@ -170,7 +170,7 @@ void VariableServerSession::addVariable(char* vname){
} }
void VariableServerSession::stageValues() { void VariableServerSession::stageValues() {
stageTime = (double)(exec_get_time_tics() + exec_get_freeze_time_tics()) / exec_get_time_tic_value(); stageTime = (double)(exec_get_time_tics()) / exec_get_time_tic_value();
std::vector<VariableServerVariable*>::iterator it; std::vector<VariableServerVariable*>::iterator it;
for (it = sessionVariables.begin(); it != sessionVariables.end(); it++ ) { for (it = sessionVariables.begin(); it != sessionVariables.end(); it++ ) {
(*it)->stageValue(); (*it)->stageValue();