Skip to content

Commit

Permalink
Update src/lib/Default/DummyShip.class.php
Browse files Browse the repository at this point in the history
  • Loading branch information
hemberger committed Mar 1, 2021
1 parent 879cf8e commit 6fc64c4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib/Default/DummyShip.class.php
Expand Up @@ -70,7 +70,7 @@ public static function getCachedDummyShip(AbstractSmrPlayer $player) {
if ($db->nextRecord()) {
$return = unserialize($db->getField('info'));
$return->regenerate($player);
self::$CACHED_DUMMY_SHIPS[$player->getPlayerName()] = & $return;
self::$CACHED_DUMMY_SHIPS[$player->getPlayerName()] =& $return;
} else {
self::$CACHED_DUMMY_SHIPS[$player->getPlayerName()] = new DummyShip($player);
}
Expand Down

0 comments on commit 6fc64c4

Please sign in to comment.