Skip to content

Commit 577f667

Browse files
committed
empty seems problematic
1 parent 61c99ce commit 577f667

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

multiplayer_server/rooms/Game.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -385,7 +385,7 @@ private function beginRace()
385385
}
386386

387387
// remove other invalid hats from valid hats array
388-
if (!emtpy($bad_hats)) {
388+
if ($bad_hats) {
389389
$this->valid_hats = array_values(array_diff($this->valid_hats, explode(',', $bad_hats)));
390390
}
391391

0 commit comments

Comments
 (0)