From 1c89692f1d95f24282d088edf817d1dd3afcd2eb Mon Sep 17 00:00:00 2001 From: Matthias Richter Date: Tue, 30 Jul 2013 11:56:55 +0200 Subject: [PATCH] Fix issue #18: Invalid code example in readme --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 46a5a1c..6ba7fc8 100644 --- a/README.md +++ b/README.md @@ -1643,7 +1643,7 @@ to table `b` (see second example). -- make Spaceship collidable Spaceship:include(Collidable) - function Spaceship:collision_handler["Spaceship"](other, dx, dy) + Spaceship.collision_handler["Spaceship"] = function(self, other, dx, dy) -- ... end