mirror of
https://github.com/PHIDIAS0303/factorio-mod-PHI.git
synced 2026-11-22 21:53:12 +09:00
.
This commit is contained in:
1 parent
fa20109cb6
commit
1ff9289486
1 file changed
+1
-2
+1
-2
@@ -35,10 +35,9 @@ if settings.startup['PHI-PB'].value then
|
|||||||
game.print('Command Error')
|
game.print('Command Error')
|
||||||
return
|
return
|
||||||
end
|
end
|
||||||
|
|
||||||
local bonus = tonumber(command.parameter)
|
local bonus = tonumber(command.parameter)
|
||||||
|
|
||||||
if type(command.parameter) ~= 'number' then
|
if type(bonus) ~= 'number' then
|
||||||
player.print('Parameter need to be number')
|
player.print('Parameter need to be number')
|
||||||
return
|
return
|
||||||
end
|
end
|
||||||
|
|||||||
Reference in new issue
Block a user