For all I know this is the same thing as PlanetSideGUID(0) or it will fail again

This commit is contained in:
ScrawnyRonnie 2023-10-25 09:16:04 -04:00 committed by GitHub
parent 3a531bba59
commit 73df169af8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -47,7 +47,7 @@ class Terminal(tdef: TerminalDefinition) extends Amenity with Hackable {
* @return an actionable message that explains what resulted from interacting with this `Terminal` * @return an actionable message that explains what resulted from interacting with this `Terminal`
*/ */
def Request(player: Player, msg: Any): Terminal.Exchange = { def Request(player: Player, msg: Any): Terminal.Exchange = {
if (Faction == player.Faction || HackedBy.isDefined || Owner.GUID == PlanetSideGUID(0) || Owner.ObjectType == "vanu_core") { if (Faction == player.Faction || HackedBy.isDefined || Owner.GUID == PlanetSideGUID(0) || Owner.GUID == 0) {
tdef.Request(player, msg) tdef.Request(player, msg)
} else { } else {
Terminal.NoDeal() Terminal.NoDeal()