Skip to content

Commit cc80b4e

Browse files
committed
added decimal input for allowed channel
1 parent a3b873c commit cc80b4e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

client/function.lua

+1-1
Original file line numberDiff line numberDiff line change
@@ -286,7 +286,7 @@ function Radio:OpenJammerConfig(id)
286286
icon = 'fa-circle-plus',
287287
onSelect = function ()
288288
local input = lib.inputDialog('Add Channel', {
289-
{type = 'number', label = 'Channel Frequency', description = 'Provide Channel Frequency', icon = 'fa-wifi'},
289+
{type = 'number', label = 'Channel Frequency', description = 'Provide Channel Frequency', icon = 'fa-wifi', precision = 2},
290290
})
291291
if not input then return end
292292
table.insert(Radio.jammer[i].allowedChannels, input[1])

0 commit comments

Comments
 (0)