1
This commit is contained in:
parent
a9d717a397
commit
7856320056
@ -11,7 +11,9 @@ namespace mt
|
|||||||
|
|
||||||
void SafeArea::Init1()
|
void SafeArea::Init1()
|
||||||
{
|
{
|
||||||
type_hash_[type()] = this;
|
if (!GetByType(type())) {
|
||||||
|
type_hash_[type()] = this;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
const SafeArea* SafeArea::GetByType(int type)
|
const SafeArea* SafeArea::GetByType(int type)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user