game.action added
This commit is contained in:
parent
34598fece9
commit
6c0bebcdd5
2
debian/changelog
vendored
2
debian/changelog
vendored
|
@ -2,6 +2,8 @@ instead (1.1.5) unstable; urgency=low
|
|||
|
||||
* multiple anigif in one layout fix
|
||||
* click in picture event
|
||||
* game.action callback
|
||||
* bug in <g: > parsing
|
||||
|
||||
-- Peter Kosyh <p.kosyh@gmail.com> Wed, 10 Mar 2010 15:20:51 +0300
|
||||
|
||||
|
|
|
@ -990,7 +990,7 @@ function player_action(self, what, ...)
|
|||
local v,r,obj
|
||||
obj = ref(self.where):srch(what);
|
||||
if not obj then
|
||||
return nil; --player_do(self, what, unpack(arg));
|
||||
return call(ref(game), 'action', what, unpack(arg)); --player_do(self, what, unpack(arg));
|
||||
end
|
||||
v, r = player_take(self, what);
|
||||
if not v then
|
||||
|
|
Loading…
Reference in a new issue