Убрано дублирование кода.

This commit is contained in:
2023-08-14 16:37:37 +03:00
parent 63be6c94b3
commit 81a8161d32
6 changed files with 55 additions and 64 deletions
+1 -1
View File
@@ -3185,7 +3185,7 @@ FROM `levels` WHERE `upLevel` = "' . $u['upLevel'] . '" LIMIT 1'
if ($smt < 10) {
$this->addAction(time(), 'create_snowball_cp', $this->info['city']);
$magic->add_eff($this->info['id'], 24);
$magic->addEffect($this->info['id'], 24);
$this->error2 = 'Начинаем лепить снежок, осталось ' . (10 - $smt) . ' раз на сегодня ...';
} else {
$this->error2 = 'Вы уже слепили 10 снежка за сегодня ...';