Skip to content

Commit 31db10e

Browse files
committed
fix(startFrame): Fix taxi and waterwalk cheats
1 parent b2cbfb4 commit 31db10e

1 file changed

Lines changed: 7 additions & 7 deletions

File tree

Commands/Commands_Main.lua

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -64,21 +64,21 @@ function ToggleVisible(value)
6464
end
6565

6666
function ToggleTaxicheat(value)
67-
if MangAdmin:Selection("player") or MangAdmin:Selection("self") or MangAdmin:Selection("none") then
67+
--if MangAdmin:Selection("player") or MangAdmin:Selection("self") or MangAdmin:Selection("none") then
6868
local player = UnitName("target") or UnitName("player")
69-
MangAdmin:ChatMsg(".taxicheat "..value)
70-
if value == 1 then
69+
MangAdmin:ChatMsg(".cheat taxi "..value)
70+
if value == "on" then
7171
MangAdmin:LogAction("Activated taxicheat to "..player..".")
7272
else
7373
MangAdmin:LogAction("Disabled taxicheat to "..player..".")
7474
end
75-
else
75+
--[[else
7676
MangAdmin:Print(Locale["selectionerror1"])
77-
end
77+
end]]
7878
end
7979

8080
function ToggleMaps(value)
81-
MangAdmin:ChatMsg(".explorecheat "..value)
81+
MangAdmin:ChatMsg(".cheat explore "..value)
8282
if value == 1 then
8383
MangAdmin:LogAction("Revealed all maps for selected player.")
8484
else
@@ -202,7 +202,7 @@ function ToggleChat(value)
202202
end
203203

204204
function ToggleWaterwalk(value)
205-
MangAdmin:ChatMsg(".waterwalk "..value)
205+
MangAdmin:ChatMsg(".cheat waterwalk "..value)
206206
MangAdmin:LogAction("Turned Waterwalk to "..value..".")
207207
end
208208

0 commit comments

Comments
 (0)