Skip to content
This repository has been archived by the owner on Feb 10, 2019. It is now read-only.

Commit

Permalink
Fixed push to interact
Browse files Browse the repository at this point in the history
Update version number
  • Loading branch information
JamesWilko committed May 13, 2015
1 parent 80e5e0c commit eb74f01
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions GoonMod/goonbase.lua
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ if not _G.GoonBase then

_G.GoonBase = {}

GoonBase.Version = 14
GoonBase.GameVersion = "1.33.1"
GoonBase.Version = 15
GoonBase.GameVersion = "1.33.0"
GoonBase.SupportedVersion = true

GoonBase.Path = ""
Expand Down
2 changes: 1 addition & 1 deletion GoonMod/mod.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"contact" : "[email protected]",
"updates" : [
{
"revision" : 13,
"revision" : 15,
"identifier" : "goonmod",
},
{
Expand Down
4 changes: 2 additions & 2 deletions GoonMod/mods/push_to_interact.lua
Original file line number Diff line number Diff line change
Expand Up @@ -94,8 +94,8 @@ Hooks:Add("PlayerStandardCheckActionInteract", "PlayerStandardCheckActionInterac
elseif input.btn_interact_release then

local data = nil
if managers.interaction and alive( managers.interaction:active_object() ) then
data = managers.interaction:active_object():interaction().tweak_data
if managers.interaction and alive( managers.interaction:active_unit() ) then
data = managers.interaction:active_unit():interaction().tweak_data
end

if PushToInteract:ShouldHoldInteraction( data ) then
Expand Down

0 comments on commit eb74f01

Please sign in to comment.