Skip to content

Commit

Permalink
Merge pull request #14 from uzair-ashraf/uzair/add-mod-id
Browse files Browse the repository at this point in the history
Added OWO mod id
  • Loading branch information
shadorki authored Feb 19, 2024
2 parents 0eb3610 + ff39c5c commit c1eff02
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion owo_suit.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
dll_path = os.path.abspath(os.path.join(os.path.dirname(__file__), './owo/OWO.dll'))
from System.Reflection import Assembly
Assembly.UnsafeLoadFrom(dll_path)
from OWOGame import OWO, SensationsFactory, Muscle, ConnectionState
from OWOGame import OWO, SensationsFactory, Muscle, ConnectionState, GameAuth

class OWOSuit:
def __init__(self, config: Config, gui: Gui):
Expand Down Expand Up @@ -88,6 +88,7 @@ def map_parameters(self, dispatcher: dispatcher.Dispatcher) -> None:
dispatcher.set_default_handler(self.on_collission_enter)

def connect(self) -> bool:
OWO.Configure(GameAuth.Create().WithId("74604770"))
owo_ip = self.config.get_by_key("owo_ip")
if type(owo_ip) is str and owo_ip != "":
OWO.Connect(owo_ip)
Expand Down

0 comments on commit c1eff02

Please sign in to comment.