버그 수정

This commit is contained in:
Hide_D committed 2019-04-21 21:15:53 +09:00
1 parent 16fed754a9
commit 0e50216cee
12 files changed
+67 -42

No files matched your search

@@ -104,7 +104,7 @@ class SightseeingMessage{
}
public function pickAction():array{
[$type, $texts] = Util::choiceRandomUsingWeightPair(static::$messages);
[$type, $texts] = Util::choiceRandomUsingWeightPair(static::$messages??[]);
$text = Util::choiceRandom($texts);
return [$type, $text];