Fix
This commit is contained in:
parent
a20bad8336
commit
3e9def9597
@ -56,5 +56,10 @@ namespace DoubleDeckerBus
|
||||
{
|
||||
return new DrawingObjectBus(data.CreateDrawningCar());
|
||||
}
|
||||
|
||||
public DrawingBus getBus()
|
||||
{
|
||||
return _bus;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -31,7 +31,7 @@ namespace DoubleDeckerBus
|
||||
{
|
||||
try
|
||||
{
|
||||
if (bus.getBus(bus.Get_bus()) == null)
|
||||
if (bus.getBus() == null)
|
||||
{
|
||||
throw new NullReferenceException();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user