update('nation', [ 'scout'=>1 ], true); if($this->blockChangeScout !== null){ $gameStor = KVStorage::getStorage($db, 'game_env'); $gameStor->setValue('block_change_scout', $this->blockChangeScout); } return [__CLASS__, $db->affectedRows()]; } }