Improved performance on room transition
This commit is contained in:
1 parent
e8b1e7f70c
commit
df99815540
2 files changed
+6
-10
No files matched your search
@@ -9,7 +9,7 @@ local game = Game()
|
||||
require("eid_config")
|
||||
EID.Config = EID.UserConfig
|
||||
EID.Config.Version = "3.2"
|
||||
EID.ModVersion = "3.74"
|
||||
EID.ModVersion = "3.76"
|
||||
EID.DefaultConfig.Version = EID.Config.Version
|
||||
EID.isHidden = false
|
||||
EID.player = nil
|
||||
@@ -373,14 +373,10 @@ end
|
||||
---------------------------------------------------------------------------
|
||||
---------------------------Handle New Room--------------------------------
|
||||
local function IsMirror()
|
||||
local lvl = game:GetLevel()
|
||||
for i=0,168 do
|
||||
local data = lvl:GetRoomByIdx(i).Data
|
||||
if data and data.Name == 'Knife Piece Room' then
|
||||
return true
|
||||
end
|
||||
end
|
||||
return false
|
||||
local level = game:GetLevel()
|
||||
local id = level:GetCurrentRoomIndex()
|
||||
|
||||
return GetPtrHash(level:GetRoomByIdx(id)) == GetPtrHash(level:GetRoomByIdx(id, 1))
|
||||
end
|
||||
|
||||
local isMirrorRoom = false
|
||||
|
||||
+1
-1
@@ -90,7 +90,7 @@ https://moddingofisaac.com/mod/1079/external-item-descriptions
|
||||
- Jake for the sweet [b]German[/b] language pack
|
||||
- [url=https://steamcommunity.com/id/whytefang/]adc[/url] for creating an awesome new Languagepack and providing ideas for new functionalities
|
||||
</description>
|
||||
<version>3.74</version>
|
||||
<version>3.75</version>
|
||||
<visibility>Public</visibility>
|
||||
<tag id="Lua"/>
|
||||
<tag id="Items"/>
|
||||
|
||||
Reference in new issue
Block a user