]> git.lizzy.rs Git - deathswap.git/commitdiff
Fixed refusal when deathswap is full
authorElias Fleckenstein <eliasfleckenstein@web.de>
Wed, 28 Oct 2020 15:49:55 +0000 (16:49 +0100)
committerElias Fleckenstein <eliasfleckenstein@web.de>
Wed, 28 Oct 2020 15:49:55 +0000 (16:49 +0100)
init.lua

index 16a18e670aa32d9a1bb4507f71677c19ebe91fc6..56b5f0082a44d74b4e1d43779f5c5f8ce4fc926d 100644 (file)
--- a/init.lua
+++ b/init.lua
@@ -3,7 +3,7 @@ deathswap.players = {}
 
 minetest.register_on_prejoinplayer(function()
        if #deathswap.players == 2 then
-               return false, "Deathswap is full!"
+               return "Deathswap is full!"
        end
 end)