CommitLog |
This commit is contained in:
parent
e60c04be85
commit
bc21fc5141
6 changed files with 13 additions and 7 deletions
|
@ -31,7 +31,7 @@
|
|||
</arguments>
|
||||
</action>
|
||||
</event>
|
||||
<event eventtype="2" enumb="0">
|
||||
<event eventtype="3" enumb="2">
|
||||
<action>
|
||||
<libid>1</libid>
|
||||
<id>603</id>
|
||||
|
@ -55,6 +55,7 @@ for(var i = 0; i < 16; i ++)
|
|||
var chunkat = instance_position(cX[i], cY[i],obj_chunk);
|
||||
if(chunkat == noone) // create
|
||||
{
|
||||
show_debug_message("Generating Chunk: "+string(cX[i])+","+string(cY[i]));
|
||||
var chunkInstId = instance_create(cX[i],cY[i],obj_chunk);
|
||||
ds_list_add(global.allchunks,chunkInstId);
|
||||
}
|
||||
|
@ -62,6 +63,7 @@ for(var i = 0; i < 16; i ++)
|
|||
{
|
||||
if(chunkat.loaded = false)
|
||||
{
|
||||
show_debug_message("Loading Chunk: "+string(cX[i])+","+string(cY[i]));
|
||||
with(chunkat){
|
||||
event_user(1);
|
||||
}
|
||||
|
@ -73,7 +75,7 @@ for(var i = 0; i < 16; i ++)
|
|||
</arguments>
|
||||
</action>
|
||||
</event>
|
||||
<event eventtype="3" enumb="0">
|
||||
<event eventtype="3" enumb="1">
|
||||
<action>
|
||||
<libid>1</libid>
|
||||
<id>603</id>
|
||||
|
@ -140,7 +142,6 @@ for(var xx = 0; xx < 4; xx++)
|
|||
}
|
||||
}
|
||||
|
||||
alarm[0] = 1;
|
||||
|
||||
</string>
|
||||
</argument>
|
||||
|
|
Reference in a new issue