mirror of
https://github.com/peter-tanner/spidertron-squad-control.git
synced 2024-11-30 11:00:17 +08:00
0.5.1: fixed switched shortcut tools
This commit is contained in:
parent
2ec3a88bc7
commit
6dc1b5dda2
|
@ -60,3 +60,11 @@ Date: 2020-11-28
|
|||
- Added mod option to override the default tool/remote given by shortcut
|
||||
- Added mod option to disable player alerts
|
||||
- _NOTE: BETA RELEASE - USE AT YOUR OWN RISK!
|
||||
|
||||
---------------------------------------------------------------------------------------------------
|
||||
Version: 0.5.1
|
||||
Date: 2020-11-29
|
||||
Features:
|
||||
- NOTE: BETA RELEASE - USE AT YOUR OWN RISK!
|
||||
Bugfixes:
|
||||
- Fixed switched shortcuts
|
|
@ -58,9 +58,9 @@ script.on_event(defines.events.on_lua_shortcut, function(event)
|
|||
local settings = settings.get_player_settings(game.players[index])
|
||||
local name = event.prototype_name
|
||||
if name == "squad-spidertron-remote" then
|
||||
GiveLinkTool(index, settings)
|
||||
elseif name == "squad-spidertron-link-tool" then
|
||||
GiveSquadTool(index, settings)
|
||||
elseif name == "squad-spidertron-link-tool" then
|
||||
GiveLinkTool(index, settings)
|
||||
elseif name == "squad-spidertron-follow" then
|
||||
-- squad_leader_state(index)
|
||||
SpiderbotFollow(game.players[index])
|
||||
|
|
Loading…
Reference in New Issue
Block a user