We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8e992fe commit 6a60097Copy full SHA for 6a60097
1 file changed
launch.lua
@@ -12,8 +12,8 @@ function launch(unitSource,unitTarget,unitRider)
12
local curpos
13
if df.global.ui_advmode.menu == df.ui_advmode_menu.Look then
14
curpos = df.global.cursor
15
- elseif df.global.gamemode == 1 then
16
- qerror("No [l] cursor located!You would have slammed into the ground and exploded.")
+ elseif df.global.gamemode == df.game_mode.ADVENTURE then
+ qerror("No [l] cursor located! You would have slammed into the ground and exploded.")
17
else
18
qerror("Must be used in adventurer mode or the arena!")
19
end
0 commit comments