From a593cc543219453baee971860072d286f4c2c24c Mon Sep 17 00:00:00 2001 From: Fernando Carmona Varo <ferkiwi@gmail.com> Date: Mon, 26 Oct 2015 20:20:11 +0100 Subject: Added game logic to the mini board --- pacmine/ghost.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pacmine/ghost.lua') 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 -- cgit v1.2.3