mirror of
https://github.com/infinitefusion/infinitefusion-e18.git
synced 2025-12-08 21:54:58 +00:00
Fixes quest icons showing up on invisible events
This commit is contained in:
@@ -61,13 +61,16 @@ class Game_Event < Game_Character
|
|||||||
echoln "MATCH"
|
echoln "MATCH"
|
||||||
echoln quest_id
|
echoln quest_id
|
||||||
return nil if isQuestAlreadyAccepted?(quest_id)
|
return nil if isQuestAlreadyAccepted?(quest_id)
|
||||||
|
|
||||||
return quest_id
|
return quest_id
|
||||||
end
|
end
|
||||||
|
|
||||||
def validateEventIsCompatibleWithIcons(event)
|
def validateEventIsCompatibleWithIcons(event)
|
||||||
return false if event.is_a?(Game_Player)
|
return false if event.is_a?(Game_Player)
|
||||||
return false if event.erased
|
return false if event.erased
|
||||||
return false unless pbGetActiveEventPage(event)
|
page = pbGetActiveEventPage(event)
|
||||||
|
return false unless page
|
||||||
|
return false if page.graphic.character_name.empty?
|
||||||
return true
|
return true
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user