|
|
@ -118,9 +118,11 @@ function admin_rooms()
|
|
|
|
$angeltype = AngelType($angeltype_id);
|
|
|
|
$angeltype = AngelType($angeltype_id);
|
|
|
|
if ($angeltype != null) {
|
|
|
|
if ($angeltype != null) {
|
|
|
|
NeededAngelType_add(null, $angeltype_id, $room_id, $angeltype_count);
|
|
|
|
NeededAngelType_add(null, $angeltype_id, $room_id, $angeltype_count);
|
|
|
|
|
|
|
|
if($angeltype_count > 0) {
|
|
|
|
$needed_angeltype_info[] = $angeltype['name'] . ': ' . $angeltype_count;
|
|
|
|
$needed_angeltype_info[] = $angeltype['name'] . ': ' . $angeltype_count;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
engelsystem_log(
|
|
|
|
engelsystem_log(
|
|
|
|
'Set needed angeltypes of room ' . $name
|
|
|
|
'Set needed angeltypes of room ' . $name
|
|
|
|