Bug Fix Round One

This commit is contained in:
Cooldude2606
2019-04-18 23:29:21 +01:00
parent 6af7bc1074
commit cc64613f41
6 changed files with 16 additions and 9 deletions

View File

@@ -13,7 +13,7 @@ end
Commands.new_command('go-to-spawn','Teleport to spawn')
:add_param('player',true,'player-role-alive')
:add_defaults{
:set_defaults{
player=function(player)
if player.connected and player.character and player.character.health > 0 then
return player