mirror of
https://github.com/RandomityGuy/MBHaxe.git
synced 2026-04-28 05:31:37 +00:00
this
This commit is contained in:
parent
9b6190c8d3
commit
f4de60f1cf
1 changed files with 4 additions and 0 deletions
|
|
@ -279,6 +279,8 @@ class RewindManager {
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getGO(id:Int):GameObject {
|
public function getGO(id:Int):GameObject {
|
||||||
|
if (id == -1)
|
||||||
|
return null;
|
||||||
return allocObjs[id];
|
return allocObjs[id];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -294,6 +296,8 @@ class RewindManager {
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getME(id:Int):MissionElementBase {
|
public function getME(id:Int):MissionElementBase {
|
||||||
|
if (id == -1)
|
||||||
|
return null;
|
||||||
return allocMes[id];
|
return allocMes[id];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue