X-Git-Url: https://git.mxchange.org/?p=shipsimu.git;a=blobdiff_plain;f=application%2Fship-simu%2Fmain%2Fconstructions%2Fharbors%2Fclass_Harbor.php;h=9cae1be691cea0e1872c00167caa65adb37861bc;hp=e168cc4acc33da3acc688250e12c9d0a18a3fd48;hb=efba981c9bf18c733dfde945b09111ff4b6007ce;hpb=ed7ca64368d512574efeda0f6b8d8e970d41aa1d diff --git a/application/ship-simu/main/constructions/harbors/class_Harbor.php b/application/ship-simu/main/constructions/harbors/class_Harbor.php index e168cc4..9cae1be 100644 --- a/application/ship-simu/main/constructions/harbors/class_Harbor.php +++ b/application/ship-simu/main/constructions/harbors/class_Harbor.php @@ -55,18 +55,12 @@ class Harbor extends BaseConstruction { // Hafen-Instanz holen $harborInstance = new Harbor(); - // Debug message - if ((defined('DEBUG_HARBOR')) || (defined('DEBUG_ALL'))) $harborInstance->getDebugInstance()->output(sprintf("[Harbor:] Der Hafen %s wird konstruiert.", $harborName)); - // Hafenname setzen $harborInstance->setHarborName($harborName); // Werftliste initialisieren $harborInstance->createshipyardList(); - // Debug-Meldung ausgeben - if ((defined('DEBUG_HARBOR')) || (defined('DEBUG_ALL'))) $harborInstance->getDebugInstance()->output(sprintf("[Harbor:] Der Hafen %s ist jetzt fertig gebaut.", $harborName)); - // Instanz zurueckliefern return $harborInstance; }