Skip to content

Commit

Permalink
Bugfix
Browse files Browse the repository at this point in the history
  • Loading branch information
gimicze committed Mar 10, 2021
1 parent 02428d5 commit 69038f3
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion fxmanifest.lua
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ games {
}

author 'GIMI, foregz, Albo1125'
version '1.7.1'
version '1.7.2'
description 'Fire Script'

client_scripts {
Expand Down
6 changes: 3 additions & 3 deletions server/dispatch.lua
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
--================================--
-- FIRE SCRIPT v1.7.0 --
-- FIRE SCRIPT v1.7.2 --
-- by GIMI (+ foregz, Albo1125) --
-- License: GNU GPL 3.0 --
--================================--
Expand Down Expand Up @@ -32,10 +32,10 @@ function Dispatch:create(text, coords)
end
end

function Dispatch:subscribe(serverId, notFirefighter)
function Dispatch:subscribe(serverId, isFirefighter)
serverId = tonumber(serverId)
self._players[serverId] = true
if not notFirefighter then
if isFirefighter then
self:addFirefighter(serverId)
end
end
Expand Down
2 changes: 1 addition & 1 deletion server/main.lua
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
-- VERSION CHECK --
--================================--

Version = "1.7.1"
Version = "1.7.2"
LatestVersionFeed = "https://api.github.com/repos/gimicze/firescript/releases/latest"

Citizen.CreateThread(
Expand Down

0 comments on commit 69038f3

Please sign in to comment.