Skip to content

Commit

Permalink
Fixed compilation error...
Browse files Browse the repository at this point in the history
Former-commit-id: c75299d
  • Loading branch information
bryanedds committed Jan 6, 2015
1 parent 4db135e commit 49d5dd0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Nu/Nu/NuEdit/Program.fs
Original file line number Diff line number Diff line change
Expand Up @@ -415,8 +415,8 @@ module Program =

let subscribeToEntityEvents form world =
let groupAddress = (World.getUserState world).GroupAddress
let world = World.subscribe AddEntityKey (handleNuEntityAdd form) (AddEventAddress ->>- groupAddress ->- AnyEventAddress) GameAddress world
World.subscribe RemovingEntityKey (handleNuEntityRemoving form) (RemovingEventAddress ->>- groupAddress ->- AnyEventAddress) GameAddress world
let world = World.subscribe AddEntityKey (handleNuEntityAdd form) (EntityAddEventAddress ->>- groupAddress ->- AnyEventAddress) GameAddress world
World.subscribe RemovingEntityKey (handleNuEntityRemoving form) (EntityRemovingEventAddress ->>- groupAddress ->- AnyEventAddress) GameAddress world

let unsubscribeFromEntityEvents world =
let world = World.unsubscribe AddEntityKey world
Expand Down

0 comments on commit 49d5dd0

Please sign in to comment.