This commit is contained in:
Igor Timofeev 2016-06-19 14:25:45 +03:00
parent 1e75359ad1
commit 20a7ec2e74
2 changed files with 2 additions and 2 deletions

View File

@ -553,7 +553,7 @@
type="Application",
icon="IgorTimofeev/OpenComputers/master/Applications/RayWalk/Icon.pic",
createShortcut="desktop",
version=1.49,
version=1.50,
resources={
{
name="RayEngine.cfg",

View File

@ -97,7 +97,7 @@ while (true) do
if ( e[1] ) then
if e[1] == "touch" then
if e[5] == 1 then
if not rayEngine.currentWeapon then rayEngine.place(3) end
if not rayEngine.currentWeapon then rayEngine.place(3, 0x3) end
else
if rayEngine.currentWeapon then rayEngine.fire() else rayEngine.destroy(3) end
end