mirror of
https://github.com/haven1433/HexManiacAdvance.git
synced 2026-03-21 17:34:13 -05:00
fix possible crash found by axcellerator
This commit is contained in:
parent
ef93f3e003
commit
2cb0ad134b
|
|
@ -119,7 +119,7 @@ namespace HavenSoft.HexManiac.Core.Models.Map {
|
|||
public BlockCells BlockMap {
|
||||
get {
|
||||
var start = Element?.GetAddress(Format.BlockMap) ?? Pointer.NULL;
|
||||
return new(Element.Model, start, Width, Height);
|
||||
return new(Element?.Model, start, Width, Height);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user