diff options
author | David McMackins II <contact@mcmackins.org> | 2017-06-22 12:39:30 -0500 |
---|---|---|
committer | David McMackins II <contact@mcmackins.org> | 2017-06-22 12:39:30 -0500 |
commit | 80309291968164501a42e36a20b459a399390cc4 (patch) | |
tree | 929750ec51b81386637ad2776f5ef911bb85f6f6 | |
parent | f2de91ef03dc9d763fdd9d9d16af9366f05398a8 (diff) |
Fix forfeit to not need confirmation
-rw-r--r-- | client.lua | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -181,11 +181,11 @@ function Client:getteam() return tonumber(r[1]) end -function Client:surrender() +function Client:forfeit() local r = self:request('FORFEIT') if iserror(r) then return nil end - return r[1] == 'Y' + return true end |