mirror of
https://github.com/joe7575/techpack.git
synced 2024-11-26 00:53:44 +01:00
door command bug fixed
This commit is contained in:
parent
5e5ba05d0c
commit
5a8da65e89
@ -158,9 +158,9 @@ sl_controller.register_action("door", {
|
||||
local player = {
|
||||
get_player_name = function() return self.meta.owner end,
|
||||
}
|
||||
if state == "open" then
|
||||
if text == "open" then
|
||||
door:open(player)
|
||||
elseif state == "close" then
|
||||
elseif text == "close" then
|
||||
door:close(player)
|
||||
end
|
||||
end
|
||||
|
Loading…
Reference in New Issue
Block a user