Commit 9e9d8766 authored by Jack Stupple's avatar Jack Stupple

select language first - otherwise eur is selected for some reason

parent 192d1d1b
......@@ -17,7 +17,7 @@ class Character extends Model
public function baseModifiers()
{
$player = Player::where('session_id', '=', $_SERVER['HTTP_SESSION_ID'])->first();
$player = Player::where('session_id', '=', $_SERVER['HTTP_SESSION_ID'])->with('language')->first();
if ($player->language) {
return $this->hasMany(Modifier::class, 'model_id')
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment