diff options
author | Fernando Carmona Varo <ferkiwi@gmail.com> | 2015-10-26 20:20:11 +0100 |
---|---|---|
committer | Fernando Carmona Varo <ferkiwi@gmail.com> | 2015-10-26 20:20:11 +0100 |
commit | a593cc543219453baee971860072d286f4c2c24c (patch) | |
tree | 1b57dd4eaa2af185ffb3d3961048121172af4e0a /pacmine/ghost.lua | |
parent | 23814830b04f778e6c2ca655d28644a39f4d3d2f (diff) |
Added game logic to the mini board
Diffstat (limited to 'pacmine/ghost.lua')
-rw-r--r-- | pacmine/ghost.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pacmine/ghost.lua b/pacmine/ghost.lua index adc106d..6ab99dc 100644 --- a/pacmine/ghost.lua +++ b/pacmine/ghost.lua @@ -85,7 +85,7 @@ for i in ipairs(ghosts) do if gamestate.power_pellet then -- Player eats ghost! move it to spawn - local ghost_spawn = vector.add(gamestate.pos, {x=13,y=0.5,z=19}) + local ghost_spawn = gamestate.ghost_start self.object:setpos(ghost_spawn) -- set the timer negative so it'll have to wait extra time self.timer = -ghosts_death_delay |