mirror of
https://github.com/RandomityGuy/MBHaxe.git
synced 2026-04-27 21:21:41 +00:00
this
This commit is contained in:
parent
d8604c9717
commit
36d3f86f28
1 changed files with 4 additions and 0 deletions
|
|
@ -281,6 +281,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];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -296,6 +298,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