Grimrukh / soulstruct

Python tools for inspecting and modifying FromSoft games (mainly Dark Souls 1).
144 stars 16 forks source link

Don't pass event_layers to instruction functions #4

Closed garyttierney closed 3 years ago

garyttierney commented 3 years ago

This prevents script compilation errors when an instruction is invoked with event_layers:

def Event():
    DisableObjectActivation(3001410, obj_act_id=-1, event_layers=[0])

Error: DisableObjectActivation() got an unexpected keyword argument 'event_layers'

Grimrukh commented 3 years ago

Good catch.