버그 수정

This commit is contained in:
2019-10-09 03:19:50 +09:00
parent 25837f6393
commit 48cac053fd
17 changed files with 240 additions and 189 deletions
+3 -3
View File
@@ -31,12 +31,12 @@ trait LazyVarUpdater{
}
function updateVar(string $key, $value){
if($this->raw[$key] === $value){
return;
}
if(!key_exists($key, $this->updatedVar)){
$this->updatedVar[$key] = $this->raw[$key];
}
if($this->raw[$key] === $value){
return;
}
$this->raw[$key] = $value;
}