diff options
author | Aki <nthirtyone@gmail.com> | 2016-09-12 10:59:25 +0200 |
---|---|---|
committer | Aki <nthirtyone@gmail.com> | 2016-09-12 10:59:25 +0200 |
commit | e255f06e02b680442630fe2f6282c791e5acfd58 (patch) | |
tree | d7308347b0718d9d9a97089dce85de0f866aaaef | |
parent | adb0938f960312fef6f73640526e94d9bd3ce4ba (diff) | |
download | roflnauts-e255f06e02b680442630fe2f6282c791e5acfd58.zip roflnauts-e255f06e02b680442630fe2f6282c791e5acfd58.tar.gz roflnauts-e255f06e02b680442630fe2f6282c791e5acfd58.tar.bz2 |
draw only alive players
-rw-r--r-- | player.lua | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -286,6 +286,8 @@ end -- Draw of `Player` function Player:draw(offset_x, offset_y, scale, debug) + -- draw only alive + if not self.alive then return end -- locals local offset_x = offset_x or 0 local offset_y = offset_y or 0 |