Skip to content

Commit 13416ba

Browse files
committed
Revert "Disable teleport to fields the "Holzhammer" way"
This reverts commit bd650bc. Issue #1
1 parent bd650bc commit 13416ba

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

scripts/main.lua

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -27,10 +27,6 @@ function initNoTeleport()
2727
FerryHotspot.getBeVisited = Utils.overwrittenFunction(FerryHotspot.getBeVisited, NoTeleport.disableFunction)
2828
Enterable.getIsEnterableFromMenu = Utils.overwrittenFunction(Enterable.getIsEnterableFromMenu, NoTeleport.disableFunction)
2929
FSBaseMission.loadMapFinished = Utils.appendedFunction(FSBaseMission.loadMapFinished, NoTeleport.loadMapFinished)
30-
31-
-- Disable teleport to fields the "Holzhammer" way
32-
Player.teleportTo = Utils.overwrittenFunction(Player.teleportTo, NoTeleport.disableFunction)
33-
Player.teleportToNPC = Utils.overwrittenFunction(Player.teleportToNPC, NoTeleport.disableFunction)
3430
end
3531

3632
-- Load as early as possible to override the "Enterable" methods

0 commit comments

Comments
 (0)