This commit is contained in:
parent
234069b0ac
commit
2256d3d9c7
1 changed files with 6 additions and 5 deletions
|
@ -26,6 +26,7 @@ public class Region {
|
||||||
Vector3 g_position = new Vector3(position.getGlobalX(),position.getGlobalY(),position.getGlobalZ());
|
Vector3 g_position = new Vector3(position.getGlobalX(),position.getGlobalY(),position.getGlobalZ());
|
||||||
boolean can = is_not_reloading;
|
boolean can = is_not_reloading;
|
||||||
|
|
||||||
|
if (is_not_reloading)
|
||||||
for (Area a : areas){
|
for (Area a : areas){
|
||||||
if (a.enabled && a.does_intersect(g_position)){
|
if (a.enabled && a.does_intersect(g_position)){
|
||||||
can=a.get_action_bool(action);
|
can=a.get_action_bool(action);
|
||||||
|
|
Loading…
Reference in a new issue