fix: hunt steps
This commit is contained in:
parent
0f86c78248
commit
ab74e96613
|
|
@ -134,8 +134,8 @@ class HuntsController extends Controller
|
||||||
return true; // Show past steps fully
|
return true; // Show past steps fully
|
||||||
}
|
}
|
||||||
if ($step->step_number == $currentStepNumber) {
|
if ($step->step_number == $currentStepNumber) {
|
||||||
// Hide hints for current step
|
// Show hints but hide location for current step
|
||||||
$step->makeHidden(['hint_text', 'hint_media_url']);
|
$step->makeHidden(['latitude', 'longitude', 'radius_m']);
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
return false; // Hide future steps
|
return false; // Hide future steps
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue